[mapguide-users] Add a layer from a shape file (.shp) - MapGuide

Srecko Lipovsek srecko.lipovsek at kaliopa.si
Thu Apr 11 10:05:30 PDT 2013


Hi

We have create that kind of function, but in ASP.NET with Topology.dll and
using some code from other functions.

Function create temporary layer in current map like buffer does.

Steps:
- uplodad zipped SHP files to server (because SHP contains more than one
file)
- save ZIP file to temp folder and unpack it (use one of opensource lib)
- read each one SHP file with Topology.dll and create temporary SDF in
session repozitory
- create temp layer in map (use .templ files in viewerfiles folder for
creating layer) 

Dont know how to do this inPHP.
You can use some code from buffer function ...




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Add-a-layer-from-a-shape-file-shp-MapGuide-tp4191489p5046163.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list