Hello,
I'm looking to:
1. Be able to select a polygon area for a node location.
2. Have a map view for all of this node type showing their polygons.
3. Be able to export these polygons into a KML file to be viewable in Google Earth.
#1 -- success, via openlayers CCK, storing in WKT field.
#2 -- built the view, but the rendered openlayers map shows no polygons. I have "Default WKT Value" selected as one of the view's fields, and I have the Openlayers style configured to use "Other: Well Known Text" as the "Map Data Source", and the CCK field (defined in #1 above) as the "WKT Field". Is there something else that needs to be configured specifically for the Openlayers map view, other than what one would typically configure for a view of certain node types?
#3 -- this is the big one. From what I've read, there is one Drupal module only that can render a KML file from Drupal, the KML module. This module pulls its data from the Location module's tables. But the Location module only stores lat/long geocoded data, not polygon data, as does the Geo module. Do you guys know if there is some other combo I'm missing or have any other leads?
Super stoked about this module... thanks guys.
Shiraz
Comments
Comment #1
Shiraz Dindaranswering my own question here,
#3 -- going to install geo module instead of saving polygon data into content WKT field. geo module has a views style which produces a kml export. we'll see how that works out and report back.
#2 -- will try again once geo module is in place. will report back on that too.
cheers
Comment #2
zzolo CreditAttribution: zzolo commentedShiraz
You should use the dev version of openlayers, as it has a fair amount of improvements especially on the cck side, and should integrate with geo better.
--
zzolo
Comment #3
phayes CreditAttribution: phayes commentedHey Shiraz,
I'm going to close this as it sounds like we have a solution that will work. Feel free to re-open it if you have any more questions. See you tonight,
Patrick