[maplab-users] Virtual Spatial Data

Jeff McKenna jmckenna at dmsolutions.ca
Tue Jul 27 12:18:59 EDT 2004


Aldo,

see comments inline:


> 1:How connect to //microsoft access database to get //points from a set 
> of x,y coordinates (I have follow instructions in //
> /http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?VirtualSpatialData. but 
> with error result: //
> /c:\inetpub\wwwroot\maplab-2.1-RC3\htdocs\mapedit\preview.php on line /
> /469///

MapLab does support adding a virtualspatial layer.  For more help on 
virtualspatial connections send a note to the main mapserver list.  Here 
is a sample layer pointing to an access database:

   LAYER
     CONNECTION "<OGRVRTDataSource>
<OGRVRTLayer  name='test'>
<SrcDataSource>ODBC:CDD</SrcDataSource>
<SrcLayer>mytable</SrcLayer>
<GeometryField encoding='PointFromColumns' x='LONG_E' y='LAT_N'/>
<GeometryType>wkbPoint</GeometryType>
</OGRVRTLayer>
</OGRVRTDataSource>"
     CONNECTIONTYPE OGR
     DATA "test"
       METADATA
         "wms_srs"   "EPSG:4326"
         "wms_title" "test"
       END
     NAME "test"
     PROJECTION
       "init=EPSG:4326"
     END
     SIZEUNITS PIXELS
     STATUS ON
     TEMPLATE "ttt.html"
     TOLERANCE 4
     TOLERANCEUNITS PIXELS
     TYPE POINT
     UNITS METERS
     CLASS
       STYLE
           COLOR 255 0 0
         MAXSIZE 100
         MINSIZE 1
         SIZE 6
         SYMBOL "square"
       END
     END
   END



> ///2: I have 30 raster files with 1:10000 scale and I want to group them 
> in one single layer. I have noticed that there is Group window..... in 
> /object proprerties Layer.
> 


This is a general mapserver question and should be asked on the main 
mapserver list 
(http://lists.gis.umn.edu/mailman/listinfo/mapserver-users).  Also see 
the mapfile documentation for a description on the GROUP parameter 
(http://mapserver.gis.umn.edu/doc42/mapfile-reference.html).


jeff





-- 
Jeff McKenna
GIS Specialist
DM Solutions Group Inc.
http://www.dmsolutions.ca




More information about the Maplab-users mailing list