[OpenLayers-Trac] [OpenLayers] #708: change WKT format to deal in features instead of geometries
OpenLayers
trac at openlayers.org
Wed May 16 18:25:49 EDT 2007
#708: change WKT format to deal in features instead of geometries
---------------------+------------------------------------------------------
Reporter: tschaub | Owner: tschaub
Type: bug | Status: new
Priority: minor | Milestone: 2.4 Release
Component: general | Version: 2.4 RC3
Keywords: |
---------------------+------------------------------------------------------
Nobody should really be doing much with geometries. We render features,
deal in collections of features, and should be able to read/write various
formats for features.
The other feature related formats (GeoRSS, GML, KML, WFS) all deal in
features. Though WKT is only about representing geometries in text, the
OpenLayers.Format.WKT read and write methods should return and ingest
features instead of geometries.
format.write(vectorLayer.features) is a handy use of this
--
Ticket URL: <http://trac.openlayers.org/ticket/708>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list