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
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users