dwins / mapnik2geotools

Using the Scala XML API to translate from Mapnik XML to GeoTools' SLD dialect
64 stars 22 forks source link

Use namespace URL from GeoServer configuration #12

Open dwins opened 14 years ago

dwins commented 14 years ago

When creating datastores, mn2gt currently uses a hard-coded namespace URI of 'http://mercury/osm'. It should use one from GeoServer's configuration instead. I am thinking we add a command-line switch like "--namespace" which accepts a prefix. We look up that prefix, or the default prefix if none is specified. If we don't find a prefix, error out, otherwise use the associated URI.