Discussion:
[Community] collective.geo MultiLineString
Christian Ledermann
2011-04-20 14:26:07 UTC
Permalink
Hello,

Is support for 'MultiPoint', 'MultiLineString', 'MultiPolygon'
planned/feasable for collective.geo.kml?

I can already add MultiLineString in the WKT input Field, save it and
it is correctly displayed in the 'coordinates' edit form but it will
not translate into kml.

I suppose it has to be translated into a kml Multigeometry like:

<MultiGeometry>
<LineString>
<!-- north wall -->
<coordinates>
-122.4425587930444,37.80666418607323,0
-122.4428379594768,37.80663578323093,0
</coordinates>
</LineString>
<LineString>
<!-- south wall -->
<coordinates>
-122.4425509770566,37.80662588061205,0
-122.4428340530617,37.8065999493009,0
</coordinates>
</LineString>
</MultiGeometry>


I reckon the same is true for 'MultiPoint' and 'MultiPolygon'
--
Best Regards,

Christian Ledermann

Nairobi - Kenya
Mobile : +254 729495789

<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don?t drive species to extinction

2) Don?t destroy a habitat that species rely on.

3) Don?t change the climate in ways that will result in the above.

}<(((*>
Sean Gillies
2011-04-20 15:37:31 UTC
Permalink
Hi Christian,

Let's use

http://www.coactivate.org/projects/collectivegeo/lists/collectivegeo-discussion

to discuss development of collective.geo. I'm signing up now.

On Wed, Apr 20, 2011 at 8:26 AM, Christian Ledermann
Post by Christian Ledermann
Hello,
Is support for 'MultiPoint', 'MultiLineString', 'MultiPolygon'
planned/feasable for collective.geo.kml?
I can already add MultiLineString in the WKT input Field, save it ?and
it is correctly displayed in the 'coordinates' edit form but it will
not translate into kml.
?<MultiGeometry>
? ?<LineString>
? ? ?<!-- north wall -->
? ? ?<coordinates>
? ? ? ?-122.4425587930444,37.80666418607323,0
? ? ? ?-122.4428379594768,37.80663578323093,0
? ? ?</coordinates>
? ?</LineString>
? ?<LineString>
? ? ?<!-- south wall -->
? ? ?<coordinates>
? ? ? ?-122.4425509770566,37.80662588061205,0
? ? ? ?-122.4428340530617,37.8065999493009,0
? ? ?</coordinates>
? ?</LineString>
?</MultiGeometry>
I reckon the same is true for ?'MultiPoint' and ?'MultiPolygon'
--
Sean
Giorgio Borelli
2011-04-20 17:34:57 UTC
Permalink
Hi,
Post by Christian Ledermann
Is support for 'MultiPoint', 'MultiLineString', 'MultiPolygon'
planned/feasable for collective.geo.kml?
no, but I think it's an interesting feature to include in c.geo
Post by Christian Ledermann
I can already add MultiLineString in the WKT input Field, save it and
it is correctly displayed in the 'coordinates' edit form but it will
not translate into kml.
<MultiGeometry>
...
</MultiGeometry>
I reckon the same is true for 'MultiPoint' and 'MultiPolygon'
yes, you have to modify the Kml view in collective.geo.kml package to manage other kinds of features

_____________
Giorgio

Loading...