Giter Club home page Giter Club logo

Comments (3)

anvaka avatar anvaka commented on July 21, 2024

I love this idea! When I query the roads I expect certain format in response. Would it be possible to share a few OSM files for me to make sure I can support them?

from city-roads.

LaoshuBaby avatar LaoshuBaby commented on July 21, 2024

I love this idea! When I query the roads I expect certain format in response. Would it be possible to share a few OSM files for me to make sure I can support them?

I'm really sorry that I completely forgot about this Issue. I didn't remember it until today's weekly OSM reported on your work again.

I recalled the scene when I received your reply two years ago. At that time, I was not quite clear about how your query worked. (Then, unfortunately, it seems that I fell asleep next to the computer and forgot about this matter.) But now, after consulting what you wrote in API.md, it seems that you retrieved a geojson (not sure if it's standard).

raw: `[out:json][timeout:250];

raw: `[out:json][timeout:250];

Overpass also supports exporting in standard OSM format, just change json to xml.

I may have misunderstood at that time, thinking that you needed OSM data for testing purposes (but even if you export a random city, it should be at least 10MB or more (Can't directly attach on GitHub anymore), and it is difficult to find small enough test cases).

Therefore, now it seems that I suggest you read the documentation on API 0.6 on the OSM Wiki.

from city-roads.

LaoshuBaby avatar LaoshuBaby commented on July 21, 2024

Of course, if you really need a specific file to test with...

This is a road network extract from a very small area in OpenGeofiction (don’t worry, its data format is exactly the same as OSM), less than 1MB, which may meet your needs.

TESTCASE_OpenGeofiction_anvaka_city-roads.zip

from city-roads.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.