Questions tagged [geospatial]

pertaining to the geographic location and characteristics of natural or constructed features and boundaries on, above, or below the earth's surface; esp. referring to data that is geographic and spatial in nature.

Geospatial (adj) Definition: pertaining to the geographic location and characteristics of natural or constructed features and boundaries on, above, or below the earth's surface; esp. referring to data that is geographic and spatial in nature.

[Source]

4809 questions
2
votes
3 answers

Converting Cartesian (ECEF) to WGS84 (Lat/Long Decimal) using JavaScript

I have a javascript file that is reading a text file containing cartesian coordinates. I can parse out the X,Y,Z values; however I need to convert these to lat/long in decimal format. These output values will be used for google map markers. I have…
user1769528
  • 41
  • 1
  • 5
2
votes
2 answers

Will scipy.interpolate.griddata correctly interpolate values for longitude and latitude float coordinates?

Lets say, I have 3 np.arrays of float values in Python: latitudes, longitudes and values. I want to interpolate some values for coordinates that are not in the latitude and longitude arrays. I can use scipy.interpolate.griddata for that and it works…
AME
  • 2,499
  • 5
  • 29
  • 45
2
votes
4 answers

GIS: line_locate_point() in Python

I'm pretty much a beginner when it comes to GIS, but I think I understand the basics - it doesn't seem to hard. But: All these acronyms and different libraries, GEOS, GDAL, PROJ, PCL, Shaply, OpenGEO, OGR, OGC, OWS and what not, each seemingly…
miracle2k
  • 29,597
  • 21
  • 65
  • 64
2
votes
1 answer

Is there a library in plain C that converts GPX to KML, and other geo-formats?

Is there a library in plain C that converts GPX to KML, and other geo-formats?
Andrew Johnson
  • 13,108
  • 13
  • 75
  • 116
2
votes
2 answers

MongoDB geospatial query with sort - performance issues

I have query (which is very slow ~2,5s): db.markers.find({ latlng: { '$within': { '$box': [ [ -16, -140 ], [ 75, 140 ] ] } } }).sort({_id: -1}).limit(1000) When I run explain for this query I get { "cursor" : "GeoBrowse-box", "isMultiKey" :…
dancio
  • 243
  • 3
  • 9
2
votes
1 answer

Solr *:* and 2 Filter queries VS. 1 Query 1 Filter query

What is the difference (especially in terms of performance) between: Using a *:* query and 2 filter queries example: http://127.0.0.1:8080/solr/select?q=*:*fl=id&fq=lat:[42.2823890429 TO 42.4224427748] AND lng:[-71.3345718384 TO…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
2
votes
1 answer

Geospatial search within a bounding box using Solr

I want to search a map within a bounding box whose lat/lng for North East points and South West points are available. I have lat and lng indexed as TrieDoubleField type and latlng as solr.LatLonType type. The reason for searching within a box (and…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
2
votes
1 answer

whats the typical size of data in memory vs data in tuple of a database?

I am working on an application that uses Openstreetmap data in a local server. To enhance speed of searching inside the OSM database, I am considering caching some amount of data in RAM memory (aka the java heap of my application). I want to…
2
votes
1 answer

Python: gridding point X,Y, and Z in order to extract statistical attribute

Sorry for the easy question but I am new in Python and i need same help. My data are in point format: X,Y,Z. Where X and Y are coordinates, and z the value. My problem is: create a raster (in TIF or ASCII) with 0.5 m by 0.5 m (or 1 by 1 m) where the…
Gianni Spear
  • 7,033
  • 22
  • 82
  • 131
2
votes
4 answers

query source and destination with geospatial indexing mongodb mongomapper

I have source and destination fields in my mongodb collection named Flight. Both the fields are geospatially indexed and written in lat-long format. I am using mongomapper to query it from rails controller. I want to write a query like…
Amrish Patel
  • 442
  • 1
  • 6
  • 14
2
votes
3 answers

Get the neighboring states of a given USA state

I created the SQL table with the US states using this page: http://www.john.geek.nz/2009/01/sql-tips-list-of-us-states/ CREATE TABLE [dbo].[UsaStates] ( [Code] CHAR (2) NOT NULL, [Name] VARCHAR (50) NOT NULL, CONSTRAINT…
2
votes
2 answers

GDAL C# ReadAsArray

I was using GDAL API to read raster files... I found in some places that python version has ReadAsArray, I assume this takes the data of the raster file as two dimensional array, is there any similar option for C#, or at least can you show me how to…
riki
2
votes
1 answer

Mongodb geospatial index vs GoogleMaps Directions Service

I recently worked on a small project on location-based services and my intention was to locate the nearest cab (GPS fitted) within a given radius of a requesting passenger (GPS enabled Android phone). I wanted to use MongoDB's geospatial indexes,…
Aafreen Sheikh
  • 4,949
  • 6
  • 33
  • 43
2
votes
2 answers

How to Crop Geotiff without GDAL using GUI based tool?

I need to crop Geotiff files without using command line GDAL. I am looking for a GUI based Geotiff or related file editor. I need to freely select any area to crop. I need to preserve lat long information so I can merge multiple Geotiff files. I…
user1119116
  • 837
  • 1
  • 8
  • 17
2
votes
1 answer

Is GeoCouch compatible with heroku?

Is GeoCouch compatible with heroku? If not...what could be an alternative?
mabounassif
  • 2,311
  • 6
  • 29
  • 46