Releases: sams96/rgeo
Releases · sams96/rgeo
v1.2.0
v1.1.1
v1.1.0
v1.0.0
This release is now broken due to some large files being removed from the git history.
Added
- Province information to
Location
. - New dataset
Cities10
and addedCity
field toLocation
.
Changed
- Fixed datagen, and moved template back into code.
New
can now accept multiple datasets (which is only really useful when you
want to useCities10
and get province/country information.- Switched to Apache License.
- Better errors.
- 100% test coverage.
v0.0.5
This release is now broken due to some large files being removed from the git history.
Added
- JSON strings in
Location
for more idiomatic marshalling . - datagen can now read multiple inputs to one output.
- 1:10m scale datasets for countries and provinces.
- Datasets are returned from functions so the compiler doesn't include unused ones in builds.
- Brought back the
New
function to initialise the data.
Changes
- Massive speed increase on queries.
- Data initialisation is probably slower.
v0.0.4
v0.0.3
Added
- More robust Location printing.
Changed
- Data is now included as a struct in a go file instead of geojson.
- Changed the algorithm to remove dependence on s2, so it doesn't need to convert between s2 and geom types. This is a lot faster than converting to s2 types every time, but slower than pre-converted.
Removed
- Function New() and access to the rgeo data type, the data is already parsed so it doesn't need to be parsed when used.
v0.0.2
Added
- 2 letter country codes, continents, regions and subregions to output.
- Type
Rgeo
and functionNew
to parse the JSON and create the polygons ahead of time so it doesn't need to be done every timeReverseGeocode
is run.
Changed
- Moved to using s2 Polygons instead of just s2 Loops.
- Using github.com/go-test/deep for nicer printing in tests.
Initial Release
Added
Initial release
- Exposes Function
ReverseGeocode
and typeLocation
. - Just give
ReverseGeocode
a pair of coordinates and it will return aLocation
containing information about which country those coordinates are in.