Hi Ingo,
thank you.
. ./set-mapnik-env
set | grep MAPNIK
resulted in more or less what you've mentioned, but without:
MAPNIK_DBPASS=
MAPNIK_PREFIX=
these are not mentioned in set-mapnik-env
BUT
./customize-mapnik-map
and also
./customize-mapnik-map>osm.xml
resulted in:
bash: ./customize-mapnik-map: /usr/bin/perl: bad interpreter: No such
file of directory
Any ideas?
Thanks,
Jakub
prints a lot ("osm.xml") using the "osm-template.xml"
(later save this to the file with appending "> osm.xml")
Regards, -Ingo
have fun :)
Kuba Z. schrieb:
Hi Ingo,
Thank you for reply.
In fact there was some typo in my osm-template.xml. I used the freshly
downloaded file now but the result is just the same (blank osm.xml).
Jakub
Ingo Baab pisze:
Seems that you don't have a template "osm-template.xml".
customize-mapnik-map just exchanges parameters in this
file and "print out" osm.xml. (">" redirects it to a file..)
You can get this template file from svn or from here:
http://svn.openstreetmap.org/applications/rendering/mapnik/archive/osm-template.xml
Best regards,
-Ingo
Kuba Z. schrieb:
Thank you Frederik,
adding "./" helped, osm.xml was created but as an empty file.
Before I dig into why? and how to fix it? I'd like to ask what other
routine to use (since this one is ditched).
Is
$ . ./set-mapnik-env # note the . !
$ ./customize-mapnik-map >$MAPNIK_MAP_FILE
the current equivalent?
I couldn't find "inc" subfolder in mapnik folder. There's "include"
folder though with hundred of hpp files.
Bests,
Jakub
Frederik Ramm pisze:
Hi,
Kuba Z. wrote:
I do it first time and am not familiar with non-windows environments.
I'm trying to generate osm tiles on win. I have osm in postgis
already, projection inicialised, mapnik onboard, mapnik configuration
files modified.
I can't make it to execute:
set-mapnik-env customize-mapnik-map >osm.xml
./set-mapnik-env customize-mapnik-map >osm.xml
Most non-windows environments don't let you execute stuff in the
current directory unless you explicitly say so.
However, the set-mapnik-env/customize-mapnik-map route is not used by
the main map style anymore, and has been ditched in favour of entity
declarations in the "inc" subdirectory.
Bye
Frederik
----------------------------------------------------------------------
Codziennie 11 tys. ofert pracy
http://link.interia.pl/f24f5
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev
----------------------------------------------------------------------
Internetowi nie placa! Otworz Konto Direct.
http://link.interia.pl/f24f7 |
----------------------------------------------------------------------
Kup wlasne mieszkanie za 72 tys. zl.
Sprawdz najlepsze oferty >>> http://link.interia.pl/f24ce |
|
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev