[OpenLayers-Users] getting Feature Info data directly from .shpfiles

Arnd Wippermann arnd.wippermann at web.de
Sat Mar 20 10:26:57 EDT 2010


Hi,

LAYER
  NAME  'TEZG'
  TYPE POLYGON
  STATUS ON
  DATA 'a.shp'

  ...
  TEMPLATE 'template.html'
  METADATA
    ...
    'wms_include_items' 'all'
    ...
  END
END

I'm not sure, if I understand your question.
With info_format = text/plain you get all attributes of the shape as plain
text. With text/html you can decide, what attributes and in which form you
deliver a request. Perhaps gml as response is also possible.

Arnd

-----Ursprüngliche Nachricht-----
Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von sunny74
Gesendet: Samstag, 20. März 2010 11:43
An: users at openlayers.org
Betreff: [OpenLayers-Users] getting Feature Info data directly from
.shpfiles


Dear friends,

I want to implement Feature Info Popup using Openlayers.But since there is
no free WMS from where I can get data in the form of text I need to get the
data from shape(.shp) files.
Previously I was doing it by putting the .shp into DB.
Now I need to get the data directly from .shp files.Is it possible to get
the data directly from .shp using mapserver.

If yes how to get it?
Pls reply soon.

Thanks.
--
View this message in context:
http://n2.nabble.com/getting-Feature-Info-data-directly-from-shp-files-tp476
7879p4767879.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list