[Mapserver-users] mapscript: querying w/o shape files

Lowell Filak lfilak at medinaco.org
Thu Feb 6 06:50:35 PST 2003


Unfortunately I can not try that directly right now.
However, because addFeature and queryByPoint operate on the layer level, it should work.
If it doesn't it's not much loss because a slight modification in the code would allow it to create a shapefile.
Lowell F.

The following message was sent by Eric Bridger <eric at gomoos.org> on 05 Feb 2003 14:26:28 +0000.

> 
> Using mapscript (mapserv 3.6.4) I am populating and drawing a layer with
> point objects.  I'm getting lat,lon and a text label from a mySQL
> database, in other words, from a data source or connection type not
> supported by MS. What are my options for using layer->queryByPoint() on
> this layer, if any? 
> 
> Since I know the order I've added the points I can track the record id
> of the points. Do I need to create a dummy *.dbf file, a real *.dbf
> file?  Is there some way to use MS_INLINE or perhaps layer->addFeature()
> or access the labels for the points created to allow me to query a layer
> created on the fly?
> 
> Eric Bridger
> eric at gomoos.org  Gulf of Maine Ocean Observing System www.gomoos.org
> 
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list