Skip to content

socrata-platform/geo-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoExport

Testing

You shouldn't need anything fancy to test. Just run sbt test

Running

Dependencies

  • You need to have zookeeper running.
  • You need to have soda-fountain running.
  • soda-fountain must be registered in zookeeper and running

From the console

sbt run

this will start the service on the default port (7777)

Using

Endpoints

/version
GET /version

get the version of the service

/export
GET /export/{uid_0},{uid_1},...,{uid_n}.{format}

where

uid:    a dataset identifier (four by four)
format: an export format (currently only one of {shp, kml, kmz, geojson})

export the comma separated list of datasets (identified by their uid) as a merged file in the format specified. note that this list of datasets doesn't need to be related in any way, they just need to have one shape column.