Gonçalo,

After reprojecting your tif did you remember to set the srs of your <Layer /> 
to the same as your map?

Dane

On Sep 27, 2010, at 10:12 AM, Gonçalo Martins wrote:

> Hi Mr. Artem Pavlenko,
>  
> I am trying to generate raster tiles using generate_tile.py, but my raster 
> data (tif) always creates a empty tile as output. I don’t know why. I read 
> some posts and I have tried to reproject my tif to <srs="+proj=merc 
> +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m 
> +nadgri...@null +no_defs +over"> that is my output projection in the map 
> file. But the output remains the same. Is there a typical mapfile.xml working 
> good so that I can copy some of the parameters. I tried parameter type = 
> raster and gdal, but no changes at all.
>  
> I Have changed the bbox of the generate_tile.py to the bounding box of the 
> raster. I am using windows os.
>  
> Mapnik is working good to generate tiles of a shapefile.
>  
> Best regards,
> Gonçalo Martins
>  
>  
>  
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to