Tag Info

New answers tagged

0

There is a tool in the linear referencing tools called Locate Features along routes. It sounds like you might have already tried using it, but if you increase the search radius to a distance greater than the furthest distance from your route you should be able to get not only measures, but also offset distance. I think the distance option only works with ...


1

H2GIS may fit with your needs as it does not require any installation (except Java) and is really close to PostGIS (SFSQL compatible). In a nutshell: H2GIS is to H2 as PostGIS is to PostgreSQL. H2GIS adds support for (MULTI)POINT, (MULTI)LINESTRING and (MULTI)POLYGON types, the functions specified by the OpenGIS Simple Features Implementation Specification ...


1

As you said, you could use embedded instance of spatiallite. In that case, it will starts together with your application, and keep all the data as one file, somewhere with your app resources. You could try JavaTopologySuit (or it's analogue for other platform). There are no such things like SQL queries, but it could create Spatial indexes, quickly select ...


1

I was able to figure this out myself using the Shapely library, like so: from shapely.geometry import LineString, Point, Polygon epsilon = 0.001 def is_between(a, b, c): crossproduct = (c.y - a.y) * (b.x - a.x) - (c.x - a.x) * (b.y - a.y) if abs(crossproduct) > epsilon : return False # (or != 0 if using integers) dotproduct = (c.x - a.x) * ...



Top 50 recent answers are included