A small scala project with the goal of transforming
Mapnik <http://mapnik.org/>
map definitions to
something GeoTools <http://geotools.org/>
and
GeoServer <http://geoserver.org/>
_ can deal with.
Install SBT. See the instructions at http://www.scala-sbt.org/release/tutorial/Setup.html
sbt update
to fetch dependencies
sbt compile
to build everything
sbt run
to run the gui, or sbt run-main me.winslow.d.mn2gt.Driver mapnikmap.xml
for batch mode conversion (see options below)
sbt "run-main me.winslow.d.mn2gt.Driver [options] {mapnik xml file}"
-- rest= (url to geoserver rest api, like http://localhost:8080/geoserver/rest). This tells mapnik2geotools to make REST calls to GeoServer to duplicate a given mapnik.xml file. Currently this means:
Upload one style for every