Hello,

I'm try to create a map out of the Dutch TOP10 data. An example set is
to find on:
<http://www.kadaster.nl/asplib/download1.asp?absurl=/zakelijk/producten/td_demo/top10nl/Shape/Shape_ongeclipt.zip>

It's projection is EPSG:28992


On 29-1-2011 17:47, Dane Springmeyer wrote:
> On Jan 29, 2011, at 2:49 AM, Peter Peterse wrote:
>
>> Hello,
>>
>> on the export problem I think I find something.
> What did you find?
>
> To confirm, the colors are correct when viewed in the QGIS window, but change 
> when you do Plugins -> Quantumnik -> Export Map Graphics ?
It looks now the same.
<http://osm.peterse-uithuizen.com/peter/Groningen-QGIS.png>
<http://osm.peterse-uithuizen.com/peter/Groningen-Mapnik.png>

>> I have more than one of the same shape files imported.
> Sure, that should work. Both QGIS and Quantumnik attempt to give shapefiles 
> unique layer names.
>
>> With a query I
>> changed the style.
> What do you mean?
I had for one color one layer importer and create the view with a query
like:
"TYPELANDGE" = 'grasland'

Now I'm using a uniq value for a class. This mean that I have much
lesser layers imported and of course it's much faster. 
>> I think that the query isn't converted in the mapnik.xml.
> I see one problem at least below in your stylesheet.
>
> It looks like (from the nik2img debug output) that your data is in projected 
> coordinates (e.g large numbers like 204561.770373), whereas QGIS is reporting 
> that your data is in EPSG:4326, which is appearing in the Mapnik 'srs' 
> definition. So, you need to tell QGIS what projection your data is in.
>
> The gocha is that if QGIS cannot detect the projection of your data the 
> default setting it to assume EPSG:4326. I recommend changing this behavior in 
> the Preferences > CRS setting to "Prompt for unknown projections". Then if 
> you set the correct projection in the project properties (is it the spherical 
> mercator, or EPSG:3857, from OSM data?) things should start working more 
> predictably.
>

this part is still not working the way I expect to work, but it's
probably my fault ;-)

Thanks for the advices.
Regards,
Peter
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to