Anyone had success using KML-files, please?

Events happening in the community are now at Drupal community events on www.drupal.org.
tinem's picture

I have installed http://drupal.org/project/kml for Drupal 6 but have some questions.

    KML: Style options
    Select the fields that contain the latitude, longitude and title of each point. Remaining fields will be available in the "content" region of the point.

What does this mean? How can I get the info from "content"?

I can only choose:
Name: *

Description: *

Longitude: *

Latitude: *

I have used it for ALL http://tinemuller.dk/div/findtoilet.kml but can it also be used for terms so there will be different files and if yes how?

Comments

hi, as an alternative, i

dasjo's picture

hi,

as an alternative, i successfully used drupal 7 + geofields + geocoder for importing kml files.

regards

Can I see your site about how

tinem's picture

Can I see your site about how you link to the files, please?

When I have figured this out I'm going to use it on my site http://beta.findtoilet.dk/node/72 and http://beta.findtoilet.dk/feeds/municipality

I'm going to make the files for ALL people to download and also try to figure out how to do this for CSV and KML. For now it's only for RSS and XML.

It looks like that statement

jeffschuler's picture

It looks like that statement doesn't have any code behind it :p

There's an issue related to that in the KML queue: Make remaining fields available in point that makes any remaining fields available to you for theming the point data. If that's what you need, I'd appreciate your review of the patch there.

If you're just trying to add more to your Description field, I recommend concatenating fields into one field in Views, and assigning that field as Description.

I have used it for ALL http://tinemuller.dk/div/findtoilet.kml but can it also be used for terms so there will be different files and if yes how?

I'm not totally sure what you mean here, but it sounds like you want to add an Argument to your View to filter the data based on some criteria (like taxonomy term.)

You might also want to use Views GeoJSON to export data as GeoJSON -- a more compact and flexible format than KML.

Whole world are talking about given data free and share

tinem's picture

Whole world are talking about given data free and share. That's why I made my project and would like people to download in a lot of formats for free but maybe it's better to understand if you read here

https://docs.google.com/document/d/1O7uJQXbn-2DWBqv1zC7ORwIGfQ4wd-82gd-N...

Don't know how to make a patch and use command line and I'm on a windows xp pro computer and the site is Drupal 6.

I pay for these wideos http://buildamodule.com/ but haven't seen an easy one to use for just one patch as yours.

Committed

jeffschuler's picture

Hi tinem,

I've committed that change to KML-6.x-2.x-dev for you. You can download it via git, or wait for d.o.'s packaging script to include it in the downloadable 6.x-2.x-dev package.

If you need further help with this, I'd appreciate if you could please bring the conversation over to the KML issue queue.

Thanks for your interest in this module!

CSV, KML, RSS, XML - is it OK to download for ALL or?

tinem's picture

Thanks for making this for me. I still figure out how to use it because not used to preprocess but will study.

But until that I have made this testsite http://testforall.findtoilet.dk/node/72 and would like to know if the data for ALL is OK to download? Still need the fields for KML but that must come later.

Which way is the best way to share my Feeds?

tinem's picture

I have used almost a week to figure out how to download in all this diff. formats and think I found the solution so I'm a little proud of myself but need YOUR help to choose which testsite and way to do it that is the best, please.

http://test.beta.findtoilet.dk/content/feeds and click also RSS, XML so you get to this site http://test.beta.findtoilet.dk/feeds/municipality and try click on the diff formats and also choose from dropdown Region Midtjylland and you will get Aarhus which should also functioning. I think this is the best way.

Now the first way it was done - think it's too confusing and technich for "normal" people http://testforall.findtoilet.dk/node/72 and click "all feeds".

It ended like this

tinem's picture

It ended like this http://beta.findtoilet.dk/feeds/municipality

Interested can read our discussion on issue que http://drupal.org/node/1534894

Location and Mapping

Group organizers

Group categories

Wiki type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: