geography Questions

13

Solved

I tried implementing the formula in Finding distances based on Latitude and Longitude. The applet does good for the two points I am testing: Yet my code is not working. from math import sin, cos, ...
Schweitzer asked 16/10, 2013 at 19:49

7

Solved

Say I have an arbitrary set of latitude and longitude pairs representing points on some simple, closed curve. In Cartesian space I could easily calculate the area enclosed by such a curve using Gre...
Trona asked 27/8, 2009 at 10:36

32

Solved

How do I calculate distance between two GPS coordinates (using latitude and longitude)?
Asberry asked 13/12, 2008 at 22:12

5

Solved

I've been trying to use the "intersects" feature on a geodataframe, looking to see which points lie inside a polygon. However, only the first feature in the frame will return as true. What am I doi...
Peristome asked 22/5, 2015 at 20:49

2

Solved

I don't want to resort in converting my geography data to geometry just so it returns true in STIntersect. Here is the code in SQL: DECLARE @point GEOGRAPHY = GEOGRAPHY::Point(1, 1, 4326) DECLARE...
Thorvaldsen asked 18/12, 2013 at 8:51

1

I am currently working on a game in Godot which involves rendering countries on a globe. I have very little prior experience with Godot, but have experimented with it in the past. I am using this ...
Impression asked 4/12, 2019 at 0:24

3

I am trying to create a surface plot of a mountain in python, of which I have some xyz data. The end result should look something like that. The file is formatted as follows: 616000.0 90500.0 3096...
Welcome asked 17/8, 2018 at 8:42

2

What is a good python API I can use to get the population of a city? I have tried using geocoder, but it is not working - not sure why. geocoder.population('San Francisco, California') returns ...
Mississippian asked 20/2, 2017 at 1:52

7

Solved

I'm trying to see if anyone knows how to cluster some Lat/Long results, using a database, to reduce the number of results sent over the wire to the application. There are a number of resources abo...
Libava asked 1/12, 2008 at 4:36

3

Solved

I'm working with a geographic point using lat/long and need to find other points in our database within a 5 mile radius of that point. However, I can't seem to find out what the "units" are for STB...
Subastral asked 4/6, 2010 at 3:20

2

Solved

I am using Python geograpy library to extract city names from a text Here is my code:- import geograpy text='I live in Kadawatha' places = geograpy.get_place_context(text=text) print(places.cou...
Clarkson asked 16/2, 2019 at 8:55

3

I've been unsuccessful in trying to find a US metropolitan area (e.x. San Francisco Bay Area, South Bay, The Berkshires, Upstate New York, etc.) database that is defined by cities. Does anyone kno...
Cairistiona asked 18/9, 2009 at 18:43

2

Solved

I use Python 3 (I also have Python 2 installed) and I want to extract countries or cities from a short text. For example, text = "I live in Spain" or text = "United States (New York), United Kingdo...
Eldoree asked 4/2, 2018 at 10:57

4

I'm working with the new Entity-Framework 5 using the Spatial data type DbGeography as part of my model for storing in one instance, a POINT and in another instance a POLYGON. When setting the val...
Trumpetweed asked 12/9, 2012 at 8:10

2

Solved

I have line @a that intersects another line @b. When I take the intersection point and detect if/where it intersects @b, it returns false declare @a GEOMETRY = Geometry::STGeomFromText('LINESTRING...
Antislavery asked 28/12, 2018 at 22:33

12

Solved

I have a set of latitudes and longitudes of locations. How to find distance from one location in the set to another? Is there a formula ?
Percolate asked 14/9, 2009 at 6:56

1

im trying to import some shapes to SQL using ogr2ogr command following this guide https://alastaira.wordpress.com/ogr2ogr-patterns-for-sql-server/ Im using this command: ogr2ogr -overwrite -f M...
Carmen asked 10/9, 2018 at 14:10

6

Solved

Last week i searched for good free or opensource solutions and component for GIS (Geographical Information Systems) I founded some system but no one fill my requirements SharpMap is very bu...
Alialia asked 21/7, 2009 at 22:6

7

Solved

In PHP, I have the following code for calculating the distance between two locations: <?php function distance($lat1, $long1, $lat2, $long2) { // DEGREE TO RADIAN $latitude1 = $lat1/180*pi(); ...
Anthropopathy asked 21/5, 2009 at 19:36

4

Solved

I'm building a web application that is going to dynamically highlight certain U.S. states and Canadian provinces on a Google Map, based on buttons and click events. Plan A) Polygons My primary id...
Genagenappe asked 28/11, 2009 at 23:49

7

Solved

Would there be a way to plot the borders of the continents with Basemap (or without Basemap, if there is some other way), without those annoying rivers coming along? Especially that piece of Kongo ...
Luna asked 11/1, 2013 at 14:34

2

I have a performance query nearest stores: We have a table that contains around 50,000 records (stores/point of sale locations) in one country. Each record has location columns of type "geography...
Ermey asked 23/12, 2016 at 15:2

4

Solved

What kind of work has been done to determine whether a specific string pertains to a geographical location? For example: 'troy, ny' 'austin, texas' 'hotels in las vegas, nv' I guess what I'm sor...
Impressionist asked 29/7, 2009 at 15:8

5

Solved

Does anyone know of a way, in Java, to convert an earth surface position from lat, lon to UTM (say in WGS84)? I'm currently looking at Geotools but unfortunately the solution is not obvious. ...
Barfuss asked 6/10, 2008 at 20:50

3

Solved

What's the best way to get a function like the following to work: def getNearest(zipCode, miles): That is, given a zipcode (07024) and a radius, return all zipcodes which are within that radius?...
Polychromatic asked 29/11, 2008 at 1:14

© 2022 - 2025 — McMap. All rights reserved.