On Wed, Nov 16, 2011 at 5:12 PM, Lime, Steve D (DNR) <steve.l...@state.mn.us > wrote:
> There’s not a straight mapping of mapfile parameter syntax to mapscript > syntax, especially where a mapfile parameter definition impacts multiple > internal values. Try:**** > > ** ** > > anewmap.width = 640**** > > anewmap.height = 480**** > > ** ** > > or use the setSize() method.**** > > ** ** > > Steve**** > > ** ** > > * > * > > ** > yes thanks this is working projection = getProjfromTable(f_table_name) #return epsg number ex:"4326" strproj= "init=epsg:"+str(projection) aproj = mapscript.projectionObj(strproj) # associer la projection a la carte amapfile.setProjection(strproj) still need help 4 web stay empty metadata and normally for class and layer ;o) regards T.
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users