gis

Solr - with LocalSolr for GIS Support Installation problems

Hello, I'm having trouble installing the LocalSolr component into my Solr setup. I'm running Solr on the following setup: Microsoft Windows Server 2003 R2 Apache Tomcat 6 Solr is running great guns.. however when trying to install the LocalSolr i'm getting the following message when trying to go to the Solr Admin Page: Dec 8, 20...

Starndards of open GIS, like openstreetmap, cloudmade?

I am not familiar with the GIS (or map), but recently I have to do some work related to this field. I know some map providers: OpenStreetMap, CloudMadeMap, OpenCycleMap, OpenAerialMap...... My questions is: Do those map providers have the same standards? I mean the tile size, zoom levels, scales for each zoom level and so on. Is there ...

How would you implement an interactive floorplan / building map?

I need to build an "interactive floorplan" for a shopping centre (or two). Many shopping centre websites already have this (eg Bluewater in the UK) Traditionally, the way to build such a floorplan / map is to do it in Flash. The actual floorplan is a Flash asset and the data that describes which retailer is in each location is fetched ...

GIS spatial functions in PHP?

I need to convert data points from one geographic projection (Lat Long, Mercator, UTM) to another and I wonder if there's a set of PHP tools or functions that can do this? I tried writing one myself based on formulas I found, but it wasn't accurate enough and I can't find better formulas anywhere, so I was wondering if there might be som...

How to move spatial data from Oracle to Postgres

Does anyone have a clear document on how to move Orace Spatial data to Postgres (both Community version and Enterprise DB... Thanks ...

ST_Buffer equivalent for Circle based searches in MySQL?

I need to search for a row with a point that is within a specified circle using MySQL GIS. Pseudocode example query is: select * from gistable g where isInCircle(g.point, circleCenterPT, radius) It appears that PostGIS can do this via the ST_Buffer function. Does MySQL GIS offer similar functionality? ...

Android - Get Altitude By Longitude and Latitude?

Hi there! Do you know some quick and sufficient way to get altitude (elevation) by longitude and latitude, that would be easy to use on Android platform? While this is a self-learning question, my approach is still time-consuming ('coz it's web-service etc), so I would like to receive any alternatives or possible improvement suggestions...

SQL Server Geography datatype nearest point on line

I am trying to build a query, but I am having some difficulty. I have a SQL Server 2008 database with a table that includes, among other fields, a geography field that describes road segments. (This data has been imported from TIGER/Line data from the U.S. Census.) I have another fixed point describing a user's location. I want to find...

SQL Server units question

This may be a really dumb question, but... What units does Geography.STLength return? The official MSDN page doesn't say anything about the units returned, and this blog entry here says STLength() returns a float indicating the length of the instance in units. Yes, that's right, it says it returns it in units. Can anyone shed some ligh...

NoSQL and spatial data

Has any of you had any experience with using NoSQL (non-relational) databases to store spatial data? Are there any potential benefits (speed, space, ...) of using such databases to hold data for, say, a desktop application (compared to using SpatiaLite or PostGIS)? I've seen posts about using MongoDB for spatial data, but I'm interested...

Direction between 2 Latitude/Longitude points in C#

I have 2 coordinates in Lat Long format. How do I determine from Point A (eg New York 37.149472,-95.509544 ) the direction in degrees to point B (eg Toronto 40.714269,-74.005973) I'm looking for a value like "340 Degrees" In C# ...

Checking if vector object will be visible on print with given dpi and print size

Hi, I have file (*.shp used in GIS) that contains collection of polygons and maybe other vector objects (but polygons are most important for me). I need to remove non printable objects it. I don't know what criteria chose. I think removing objects with small border length would be better then removing objects with small area (so long ...

A crowdsourced Map Edit application for enviornmental cause

I want to create an application where users can mark on map location of polluting factories. Google map provides a MAP editor feature. We would like to have our own website like www.toxic-map.org where people could mark these locations. What would be the best approach for this? Additionally we should be able to backup this database whic...

GIS, Mercator projection, calculate Y position

I am doing some stuff with GIS(or map), and I know how to calculate Y position from latitude in mercator projection. But I don't know how it comes? Why it is ln(tan(x)+sec(x)) ? I couldn't figure out why there is a 'ln'? I know it is not directly related to programming, but I hope some one could help me understanding about this (bett...

Representing planar graphs / GIS topology: ArcObjects vs. CGAL arrangements

I need to represent a planar graph structure, i.e., a division of part of the plane into polygons so that I can easily find a polygon's neighbors etc (like on a map). What is the best library to use? ArcObjects? CGAL (2D arrangements)? Anything else? I use C++ under Windows. ...

Set a double click event without disabling default mouseup/mousedown behavior.

I'm trying to enable a double click event on a flex control without disabling the default mouseup/mousedown behaviors. I'm using the ESRI Flex API for arcgis server, and I have a map control with one background layer and a GraphicLayer. The graphics layer has several Graphic objects that respond to mouseover, and allow the user to pan ...

Moving a Point along a Path in SQL Server 2008

I have a geography field stored in my database, holding a linestring path. I want to move a point n meters along this linestring, and return the destination. For example, I want the destination point 500 meters along the linestring starting from its beginning. Here's an example -- what is the YourFunctionHere? Or, is there another w...

KML + Google Earth: Big complex overlay with timeline selector?

Got a question regarding overlays and timelines in Google Earth (or possibly other KML-friendly clients). I have data for every minute of the day for a given day that represents a numeric value for various areas on the map, and I want to display that data in a manner that looks basically like a weather radar map. So, for each minute, I...

Determine if a POINT is between two other POINTs on a LINESTRING (SQL Server 2008 Geography)

I have a SQL Server 2008 GEOGRAPHY data type in my database containing a LINESTRING. The LINESTRING describes a potentially curvy road. I have another table that contains a start point and end point, both GEOGRAPHY POINT's, on the road. I need to know if a third point falls between those two points on the road (LINESTRING). Currently, ...

Animated 2d Map Desktop Widget

I need to animate some vector icons smoothly moving about a 2d map. I have time-lat/lng pairs forming tracks. Down the road I would really like to be able to convey various GIS data like topography and roads on the map along with my smoothly animated icons. Any suggestions on what to use? I find things like Quantum GIS but it seems g...