tidwall / tile38

Real-time Geospatial and Geofencing
https://tile38.com
MIT License
9.15k stars 570 forks source link

could tile38 monitor the track of point Intersects the polyline? #356

Open pujian1984 opened 6 years ago

pujian1984 commented 6 years ago

could tile38 monitor the track of point Intersects the polyline?like tile38 could monitor an object enters or exits the the geofence. will the future version support this Features? thank you very much.

tidwall commented 6 years ago

Hi,

could tile38 monitor the track of point Intersects the polyline?like tile38 could monitor an object enters or exits the the geofence.

Geofencing is best used with a polygon or objects that have an area. Polylines do not work well as geofences. Though you could create a buffered polygon around the segments of the polyline and use it as a geofence.

will the future version support this Features?

There's been experiments around using polyline segments as geofences. A point can then be snapped to the polyline and fire notifications when it reaches certain segments of the line. This can be usefule for railroad and highway applications. This may be included in a future release.

pujian1984 commented 6 years ago

hi, tidwall we are a company which do something about gis and electronic waterway map. tile38 is very well for us. why we need monitor the track of point Intersects the polyline, the down picture is our use scene. image and we need to kown the ship Intersects the section form which direction.

so we hope tile38 support more and more gis scene in the future. @tidwall give you thumbs-up image