![]() |
||||
|
|
||||
[maplab-users] Re: [Fwd: query]Jeff McKenna mckenna@dmsolutions.caFri, 18 Jul 2003 09:40:08 -0400
|
||||
Hi Paul,
Yes it is possible to query the dbf files of shapefiles using MapLab.
Simply add a TEMPLATE in the CLASS object of the layer that you want to
query. MapLab looks for the word "TEMPLATE" in the class object. The
template value can be anything, the file does not exist so just make up
something. e.g.:
LAYER
NAME "oceans"
STATUS ON
DATA "ocean75m"
TYPE POLYGON
UNITS METERS
CLASS
COLOR 0 0 200
TEMPLATE "ttt"
END
END
obviously "ttt" is not a valid file, but MapLab just looks for the
presence of TEMPLATE in the CLASS object. Hope this helps.
By the way, any further MapLab questions should be sent to the MapLab
user list (http://lists.dmsolutions.ca/mailman/listinfo/maplab-users) so
that developers and other MapLab users can help you. Thanks.
Jeff
>
> Can you point me to a resource where I can get some information on how to
> add query layers using maplab? Is it possible to query the dbf files of
> shapefiles using maplab?
>
> Paul
>
>
>
>
--
Jeff McKenna
GIS Specialist
DM Solutions Group Inc.
http://www.dmsolutions.ca
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |