All Projects → mountain-pass → addressr

mountain-pass / addressr

Licence: Apache-2.0, Unknown licenses found Licenses found Apache-2.0 LICENSE Unknown LICENSE.md
Free Australian Address Validation, Search and Autocomplete

Programming Languages

javascript
184084 projects - #8 most used programming language
Gherkin
971 projects
HCL
1544 projects
HTML
75241 projects
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to addressr

geocoder
Geocoder is a Typescript library which helps you build geo-aware applications by providing a powerful abstraction layer for geocoding manipulations
Stars: ✭ 28 (-39.13%)
Mutual labels:  autocomplete, geocoding, geo
Downshift
🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.
Stars: ✭ 10,183 (+22036.96%)
Mutual labels:  autocomplete, autosuggest
react-thailand-address-typeahead
jquery.Thailand.js in React
Stars: ✭ 78 (+69.57%)
Mutual labels:  autocomplete, address
Mimirsbrunn
Geocoding and reverse-geocoding (with OSM data)
Stars: ✭ 165 (+258.7%)
Mutual labels:  autocomplete, geocoding
Autosuggest Trie
Minimalistic trie implementation for autosuggest and autocomplete components
Stars: ✭ 22 (-52.17%)
Mutual labels:  autocomplete, autosuggest
React Input Tags
React component for tagging inputs.
Stars: ✭ 10 (-78.26%)
Mutual labels:  autocomplete, autosuggest
React Autowhatever
Accessible rendering layer for Autosuggest and Autocomplete components
Stars: ✭ 146 (+217.39%)
Mutual labels:  autocomplete, autosuggest
Jquery.thailand.js
ตัวช่วยกรอกที่อยู่ที่ดีที่สุดในไทย ไม่ต้องใช้ Server Side!
Stars: ✭ 490 (+965.22%)
Mutual labels:  autocomplete, address
Autosuggest Highlight
Utilities for highlighting text in autosuggest and autocomplete components
Stars: ✭ 176 (+282.61%)
Mutual labels:  autocomplete, autosuggest
svelte-mapbox
MapBox Map and Autocomplete components for Svelte (or Vanilla JS)
Stars: ✭ 267 (+480.43%)
Mutual labels:  autocomplete, geocoding
vue-thailand-address-autocomplete
🇹🇭 Autocomplete ที่อยู่ในประเทศไทย
Stars: ✭ 49 (+6.52%)
Mutual labels:  autocomplete, address
Use Places Autocomplete
😎 📍 React hook for Google Maps Places Autocomplete.
Stars: ✭ 739 (+1506.52%)
Mutual labels:  autocomplete, geocoding
React Autosuggest
WAI-ARIA compliant React autosuggest component
Stars: ✭ 5,773 (+12450%)
Mutual labels:  autocomplete, autosuggest
V Suggestions
Vue component for suggestions with custom templates
Stars: ✭ 42 (-8.7%)
Mutual labels:  autocomplete, autosuggest
Places
🌐 Turn any <input> into an address autocomplete
Stars: ✭ 5,322 (+11469.57%)
Mutual labels:  autocomplete, geo
React Input Enhancements
Set of enhancements for input control
Stars: ✭ 1,375 (+2889.13%)
Mutual labels:  autocomplete, autosuggest
Googleapi
C# .NET Core Google Api (Maps, Places, Roads, Search, Translate). Supports all endpoints and requests / responses.
Stars: ✭ 346 (+652.17%)
Mutual labels:  autocomplete, geocoding
Vue Autosuggest
🔍 Vue autosuggest component.
Stars: ✭ 492 (+969.57%)
Mutual labels:  autocomplete, autosuggest
React Selectrix
A beautiful, materialized and flexible React Select control
Stars: ✭ 166 (+260.87%)
Mutual labels:  autocomplete, autosuggest
fias
Ruby wrapper for the Russian FIAS database (Федеральная Информационная Адресная Система)
Stars: ✭ 82 (+78.26%)
Mutual labels:  geo, address

Addressr

Addressr

Australian Address Validation, Search and Autocomplete - addressr.io

GitHub license npm npm downloads Docker Image Version (latest by date) Docker Pulls

Addressr Build Status Maintainability Test Coverage

GitHub issues GitHub pull requests Libraries.io dependency status for latest release Join the chat at https://gitter.im/mountainpass-addressr/community

Gitter

Uptime Robot ratio (30 days)

About

Australian Address Validation, Search and Autocomplete

Australian Data Source

Addresses validated against the Geocoded National Address File (referred to as G-NAF), Australia’s authoritative address file.

Software As or NOT As A Service

We love SaaS, but we know its not for everyone. SaaS or self hosted, we've got you covered.

Always Up-To-Date

Addressr automatically updates with the latest data, so you're never out-of-date.

Real-time Address Validation

Add address autocomplete, search and validation to your forms.

Easy To Use API

Build your solution quickly, with our straightforward API.

Run On Your Own Infrastructure or Use Ours

On-premise or in the cloud, run Addressr on your own infrastructure, or leave all the hard work to us.

Completely Free or Pay for Support

That's right, Addressr is completely free Forever. Or for peace of mind for your mission critical solutions, get commercial support you can truly rely on.

ToC

Quick Start

Self Hosted

  1. Install addressr

    npm install @mountainpass/addressr -g
    

    NOTE: If you are running windows, you'll need to use wsl

  2. Start elastic search. For example run

    docker pull docker.elastic.co/elasticsearch/elasticsearch:7.9.2
    docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.9.2
    
  3. Start API server. In a second window run:

    export ELASTIC_PORT=9200
    export ELASTIC_HOST=localhost
    addressr-server-2
    
  4. Setup the env vars for the data loader. In a third window run:

    export ELASTIC_PORT=9200
    export ELASTIC_HOST=localhost
    export ADDRESSR_INDEX_TIMEOUT=30s
    export ADDRESSR_INDEX_BACKOFF=1000
    export ADDRESSR_INDEX_BACKOFF_INCREMENT=1000
    export ADDRESSR_INDEX_BACKOFF_MAX=10000
    
    1. Optional - enable geocodes by setting the following env vars for the data loader. In the third window run: NOTE: with geocodes enabled, indexing takes much longer and needs much more memory. Only use turn them on if you need them. You can always add them later.
    export ADDRESSR_ENABLE_GEO=1
    export NODE_OPTIONS=--max_old_space_size=8196
    
    1. Optional - limit the addresses to a single state by setting the COVERED_STATES env var for the data loader. This dramatically speeds up indexing. For example, in the third window run:
    export COVERED_STATES=VIC,SA
    

    Valid values are:

    • ACT
    • NSW
    • NT
    • OT
    • QLD
    • SA
    • TAS
    • VIC
    • WA
  5. Run data Loader. In the third window run:

    addressr-loader
    
  6. OK, so we stretched the truth a bit with the "Quick Start" heading. The truth is that it takes quite a while to download, store and index the 13+ million addresses from data.gov.au. So make a coffee, or tea, or find something else to do and come back in about an hour when it's done.

  7. Search for an address using the command line

    curl -i http://localhost:8080/addresses?q=LEVEL+25,+TOWER+3
    
  8. An updated G-NAF is released every 3 months. Put addressr-loader in a cron job or similar to keep addressr regularly updated

  9. Wire you address form up to the address-server api. The easiest way to do this is by using the waychaser library as follows

How it Works

How it works

Additional Settings

Environment Variable Value Description Default
ELASTIC_PROTOCOL http Connect to elastic search over http
ELASTIC_PROTOCOL https Connect to elastic search over https
ELASTIC_USERNAME blank Connect to elastic search without authentication
ELASTIC_USERNAME non-blank Connect to elastic search with the specified username
ELASTIC_PASSWORD blank Connect to elastic search without authentication
ELASTIC_PASSWORD non-blank Connect to elastic search with the specified password
ELASTIC_PASSWORD non-blank Connect to elastic search with the specified password
PAGE_SIZE 8 Number or records to return in a search

NOTE: When adjusting PAGE_SIZE, you should take into account how quickly you want the initial results returned to the user. In many use cases, you want this to be as fast as possible. If you need show more results to the user, you are often better off leaving it a 8 and using the paging links to get more results while you are displaying the first 8.

Why is the default 8 and not 10? Mechanical Sympathy

System requirements

Elastic Search:

elasticsearch-oss >= 7.9.2 with 1.4GiB of memory

Addressr Loader

Default

Node JS >= 11.14.0 with 1GiB of memory

With Geocoding enabled

Node JS >= 11.14.0 with 8GiB of memory

Addressr Server

Node JS >= 11.14.0 with 64MiB of memory

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].