Questions tagged [geo]

geo is the abbreviation for the term "geographic". It includes handling of geographic coordinates and vectors for display and calculation purpose.

1160 questions
7
votes
5 answers

Missing results due to geo proximity formula (store locator)

OK - I've been wrestling with this for about 3 months on and off and since I've exhausted every geo proximity formula out there that I've come across and I'm no closer to getting the right results I figured it time to ask for some help. THE AIM I'm…
FourStacks
  • 586
  • 3
  • 12
7
votes
3 answers

The indices of the two GeoSeries are different - Understanding Indices

I am working with GeoPandas and I have two GeoDataframes with the same CRS. One of them contains a geometry column with a polygon geometry, the other one a column with point geometry. I want to check which points are inside the polygon. Naively I…
four-eyes
  • 10,740
  • 29
  • 111
  • 220
7
votes
1 answer

How can I retrieve Latitude and Longitude of a postal address using Bing Maps?

I want to be able to retrieve the geographical coordinates (latitude and longitude) for a given address. I'm hoping I can do that if I have the full address (street address + city + state + zip). If it matters, I am using Bing Maps. The skeleton…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
7
votes
1 answer

Best Javascript Geo chart/map library

What is the best JavaScript Geo map/chart available (high quality solution) ? It should work on the ipad/android tablets/ie8++/firefox... and ideally with a professional support. Google Visualization could be a low end solution (no zoom/move, low…
ic3
  • 7,917
  • 14
  • 67
  • 115
7
votes
3 answers

Sorting by distance in MySQL with spatial analysis functions and data types

I'm building a php web app with Laravel 5.5 and I need to display a list of places (eg. stores) sorted by their distance from a user-specified location. The places will be stored in a MySQL database and should be retrieved as Eloquent ORM model…
Lorenzo Rossi
  • 613
  • 1
  • 8
  • 18
7
votes
1 answer

Querying for things near a geolocation?

I have a query that attempts to find things within a certain geolocation, but the results that it brings back are a little bit... strange. I had previously posted this thread and the community helped me find a formula that I needed: Querying within…
Genadinik
  • 18,153
  • 63
  • 185
  • 284
7
votes
1 answer

How to get the intersecting points from shape in ElasticSearch

I have stored a route in ElasticSearch as a Polygon. Now I have a circle (A point and a radius), I'am able to check the circle points intersects the polygon or not (Below is the code I used). Question: How can I get the points in the route which…
Viswanath Lekshmanan
  • 9,945
  • 1
  • 40
  • 64
7
votes
1 answer

Simplifying D3js' SVG path generated string

I am trying to optimize a little bit the SVG I am generating using the amazing D3js geo module. I am using d3.geo.path as the d attribute generator for SVG paths: path = d3.geo.path().projection(config.projection); // projection is initialized…
7
votes
1 answer

Accessing Leaflet.js GeoJson features from outside

I want to interact with a leaflet powered map's GeoJson overlay (polygons) from outside of L.'s realm, but I don't seem to be able to access objects created by L.. Interaction would include: getBounds(myFeature)…
datafunk
  • 636
  • 9
  • 18
7
votes
3 answers

How can I determine if a point is hidden on a projection?

I'm working of a fairly simple world globe interface using D3 and the D3.geo.projection to create a spinning globe with data points on it. Everything worked fine (i.e. the points "eclipsed" when they rotated away behind the horizon) when I was just…
Craig Soich
  • 145
  • 10
7
votes
2 answers

ggplot of Dymaxion/Airocean (icosahedral) map projection

I think R. Buckminster Fuller's Dymaxion map is one of the most beautiful map projections ever devised: I was playing with the neat projections in mapproj, which works great with ggplot, but it doesn't look like there are any projections for this.…
bright-star
  • 6,016
  • 6
  • 42
  • 81
7
votes
3 answers

Geopy: calculating GPS heading / bearing

First time poster here. I am doing some data analyses on collected GPS data for a bridge inspection ROV octorotor. We have the octorotor running on ROS using a 3D scanning LIDAR, stereo vision, INS, and some other neat tech. I'm currently using a…
ruffsl
  • 1,423
  • 2
  • 12
  • 16
7
votes
1 answer

How to do smooth transition for map reprojection in d3 js

I'd like to do a smooth transition between alber/orthographic in a mini app I am building, much like this example: http://mbostock.github.io/d3/talk/20111018/#27 It seems like this smooth transition is broken in v3 however, with a rather choppy…
benheb
  • 81
  • 1
  • 3
7
votes
5 answers

algorithm to define a geofence and see if a point is inside/outside it

I am looking for an algorithm through I can create a geofence and check if a device is entering/leaving the fence. I have looked at point in polygon algorithms (ray casting and winding number) but are there any algorithms which can be applied to…
Nilgiri
  • 71
  • 1
  • 1
  • 3
6
votes
2 answers

how to find the nearest LINESTRING to a POINT?

How do I fund the nearest LINESTRING near a point? First I have a list of LINESTRING and point value. How do I have the nearest LINESTRING to the POINT (5.41 3.9) and maybee the distance? from shapely.geometry import Point, LineString line_string =…
helpme
  • 163
  • 3
  • 9