Skip to main content
deleted 416 characters in body
Source Link
Reiion
  • 197
  • 1
  • 10

If I have a linestring of objects (different from the road OSM XML file) and an OSM XML file that contains nodes and ways (extracted down to roads only), how can I detect if my linestring passes through a node?

Edit: I'd also like to mention that I am working on manipulating the linestring of objects from a mongodb database while matching it with the OSM XML file

I have my Django model like this:

class Route(Document):
type = StringField(required=True)
route_id = StringField(required=True)
geometry = LineStringField()
properties = DictField()

meta = {'collection':'routes'}

This is given that I have already made a script that has the list of intersecting nodes from ways, so I just basically want to bring it down to the most significant ones, where my linestring passes through these intersecting nodes.

If I have a linestring of objects (different from the road OSM XML file) and an OSM XML file that contains nodes and ways (extracted down to roads only), how can I detect if my linestring passes through a node?

Edit: I'd also like to mention that I am working on manipulating the linestring of objects from a mongodb database while matching it with the OSM XML file

I have my Django model like this:

class Route(Document):
type = StringField(required=True)
route_id = StringField(required=True)
geometry = LineStringField()
properties = DictField()

meta = {'collection':'routes'}

This is given that I have already made a script that has the list of intersecting nodes from ways, so I just basically want to bring it down to the most significant ones, where my linestring passes through these intersecting nodes.

If I have a linestring of objects (different from the road OSM XML file) and an OSM XML file that contains nodes and ways (extracted down to roads only), how can I detect if my linestring passes through a node?

This is given that I have already made a script that has the list of intersecting nodes from ways, so I just basically want to bring it down to the most significant ones, where my linestring passes through these intersecting nodes.

added 423 characters in body; edited tags
Source Link
Reiion
  • 197
  • 1
  • 10

If I have a linestring of objectslinestring of objects (different from the road OSM XML file) and an OSM XML file that contains nodes and ways OSM XML file that contains nodes and ways (extracted down to roads only), how can I detect if my linestring passes through a node?

Edit: I'd also like to mention that I am working on manipulating the linestring of objects from a mongodb database while matching it with the OSM XML file

I have my Django model like this:

class Route(Document):
type = StringField(required=True)
route_id = StringField(required=True)
geometry = LineStringField()
properties = DictField()

meta = {'collection':'routes'}

This is given that I have already made a script that has the list of intersecting nodes from ways, so I just basically want to bring it down to the most significant ones, where my linestring passes through these intersecting nodes.

If I have a linestring of objects (different from the road OSM XML file) and an OSM XML file that contains nodes and ways (extracted down to roads only), how can I detect if my linestring passes through a node?

This given that I have already made a script that has the list of intersecting nodes from ways, so I just basically want to bring it down to the most significant ones, where my linestring passes through these intersecting nodes.

If I have a linestring of objects (different from the road OSM XML file) and an OSM XML file that contains nodes and ways (extracted down to roads only), how can I detect if my linestring passes through a node?

Edit: I'd also like to mention that I am working on manipulating the linestring of objects from a mongodb database while matching it with the OSM XML file

I have my Django model like this:

class Route(Document):
type = StringField(required=True)
route_id = StringField(required=True)
geometry = LineStringField()
properties = DictField()

meta = {'collection':'routes'}

This is given that I have already made a script that has the list of intersecting nodes from ways, so I just basically want to bring it down to the most significant ones, where my linestring passes through these intersecting nodes.

edited tags
Link
Reiion
  • 197
  • 1
  • 10
Source Link
Reiion
  • 197
  • 1
  • 10
Loading