[Cartoweb-users] How to convert shape file (.shp, shx) to raster file ?

Dirk Jesko ml.dje at geocontent.de
Fri May 12 01:47:35 EDT 2006


Hi,

shp2img creates an image from a mapfile, not from a shp file. Therefore, 
you have to create a mapfile first. See the help message of shp2img or 
http://mapserver.gis.umn.edu/docs/reference/utilityreference/shp2img. 
Alternatively, you may try gdal_rasterize, but I do not know if it works.

Regards,
Dirk


Baroudi Malek wrote:

> How to convert shape file (.shp, shx) to  raster file ?
> shp2img does not work for this type of file.
> this is error :
> $ shp2img  -m arcdf.shp -o  arcdf.png
> msEvalRegex(): Regular expression error. String (arcdf.shp) failed 
> expression test.
>
>_______________________________________________
>Cartoweb-users mailing list
>Cartoweb-users at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/cartoweb-users
>  
>


More information about the Cartoweb-users mailing list