Am 23.04.2013 16:55, schrieb David Winslow:
No, there's no log file. You can try running it from a terminal and
dumping output to a file:
java -jar mapnik2geotools-0.1.jar 2>&1 > mn2gt.log
This should work whether you are using the command-line parameters or
configuring things through the GUI.
--
David Winslow
OpenGeo - http://opengeo.org/
On Tue, Apr 23, 2013 at 10:52 AM, OZ <[email protected]
<mailto:[email protected]>> wrote:
Am 23.04.2013 15:01, schrieb David Winslow:
Mapnik2GeoTools can connect to GeoServer through the REST API and
set up your layers and styles for you. What it does is:
* configure one layer/resource for each table
* configure one style for each sld
* configure a layergroup with all the layers and styles in the
correct order (based on the layer order from the mapnik XML.)
You can of course make all these changes yourself, but for 91
styles it might take a while.
BTW, Mapnik styles for OpenStreetMap often sneak subqueries into
database "table" names:
<Parameter name="table">
(select way, "addr:housenumber" from &prefix;_polygon where
"addr:housenumber" is not null and building is not null) as
housenumbers
</Parameter>
GeoServer doesn't allow this so Mapnik2GeoTools creates .sql
files you can use to create real tables that can be used instead
- if you don't run them then you will not be able to apply all
the styles.
--
David Winslow
OpenGeo - http://opengeo.org/
On Tue, Apr 23, 2013 at 4:05 AM, Hebert_Miller
<[email protected] <mailto:[email protected]>> wrote:
Hello List,
1. I copied some OSM data with osm2pgsql to my potgresql
database resulting
in 4 tables to symbolize:
osm_planet_line
osm_planet_point
osm_planet_polygon
osm_planet_roads
2. I used mapnik2geotools to translate the black and white
mapnik osm style
to geoserver sld.
https://trac.openstreetmap.org/browser/subversion/applications/rendering/parking/mapnik/bw-mapnik
The Transformation is giving me back many sld style files(91).
Now my question is:
How can I associated the styles with my 4 layers?
Thanks,
Herbert Miller
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/mapnik2geotools-and-multiple-SLD-with-one-layer-tp5048989.html
Sent from the GeoServer - User mailing list archive at
Nabble.com.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance
monitoring service
that delivers powerful full stack analytics. Optimize and
monitor your
browser, app, & servers with just a few lines of code. Try
New Relic
and get this awesome Nerd Life shirt!
http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Geoserver-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-user
<https://lists.sourceforge.net/lists/listinfo/geoserver-users>
Ok. Thats what i was wondering about. Now things make sense.
Tried to connect through the REST-API but it didn`t work for me.
Is there a mapnik2geotools logfile somewhere?
Because the original error message is too big to be displayed
correctly. Only thing i can see it`s about online resource of some
.png symbols.
Thanks again,
Hebert Miller
I tried it with the mn2gt-assembly-0.1.jar. Did you mean this jar-file?
Because its giving me back the fontsetname not found failure. I read
about this failure already in the google group and with the newest
version of mn2gt it didn`t appear.
Hebert Miller
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users