Grasshopper

algorithmic modeling for Rhino

I just wanted to let everyone know that there's an update for Elk available.  I've added a generic OSM component to allow you to pull any data types from the file that you want.  Otherwise it's unchanged from the previous release.

-Tim

Views: 2308

Replies to This Discussion

Hello,

create plugin!

Only took a few minutes to generate a complete city map and check what within five minutes of different points.

Just wondering in the .osm files some nodes are marked as an entrance:

<node id="1304598076" lat="48.5267049" lon="11.4997941" user="ckol" uid="162465" visible="true" version="1" changeset="8279124" timestamp="2011-05-29T09:52:16Z">
<tag k="building" v="entrance"/>
</node>

but the generic OSM doesn't find these Points.

Does it only search inside the way tags?

Richard

Thanks for a great share Tymothy.

I can't get it to work with the data retrieved from the Planet.osm extracts though, as found for example here. The OSM's api limit of 50,000 nodes makes it rather unusable for downloading entire cities. What is the required data structure of the XML file to work with Elk? I figured out the bounds line is missing, adding it manually seems to do the trick just for the OSMData node. However both the way and generic OSM nodes fail to retrieve data...

Just scanning through one of the files I don't see anything else that's missing or out of place beyond the bounds node.  Maybe it's an exception I'm missing somewhere.  I've been working on some other changes, but my free time is almost non-existent for the moment so development is going slower than I'd like.  I'll try to take a closer look at it sometime in the next couple of days.

 

-Tim

Ok, the problem seems to occur when a node referenced in the <way /> definition is missing from the osm file. I assume that Elk is set to abort the import of data when it encounters such a mismatch. 

Maybe setting the default behaviour to skip the missing node would solve the problem?

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service