shp2img failing on super-basic mapfile

Gregor Mosheh gregor at HOSTGIS.COM
Mon Oct 15 13:44:52 EDT 2007


Webb Sprague wrote:
> MAPSCRIPT[0]$ shp2img  -m map2  > foo
> msEvalRegex(): Regular expression error. String (map2) failed
> expression test. <br>

Mapfiles must end in .map
Try renaming it to map2.map and try again.

-- 
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA



More information about the mapserver-users mailing list