Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

tzdataservice

Java program and service to provide timezone names for given latitude and longitude based on data from an ESRI shapefile.

prerequisites

building

    ant package

running the service

    java -jar tzdataservice.jar /path/to/tz_world.shp

querying the REST service

E.g. with curl:

    curl http://localhost:28100/tz/bylonlat/9/50

More information

The blog post Determine time zone with GeoTools from shapefiles explains the background and implementation of the program. It is also available in German language: Zeitzone mit Geotools aus Shapefiles bestimmen.

License

Copyright 2015, 2017 Martin Kompf

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Service to provide timezone names for given latitude and longitude based on ESRI shapefile

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.