gis

What is a good api for mapping gps coordinates in c#?

I have a project that has a list of gps coordinates. I would like to find a way to make a simple map of those coordinates (possibly just one at a time). The map should have basic street info. This part of our project is pretty simple so I don't think it needs to be an exceptionally feature rich product. This also means it shouldn't be r...

google maps flex API: handle both double and single clicks?

how do you tell a single mouse click from a double click? my single click listener seems to be trapping all the double clicks as well: tz locator it's a known issue for the flash/flex API but the js workaround doesn't seem to handle both either: code.google.com ...

Is there a GIS "Hello World" Equivalent?

Is there the equivalent of the "Hello World" program for GIS applications? I am looking to become more familiar with the development of GIS applications. What are the popular (and free/low cost) tutorials and/or sample applications that would help someone get started? Are there any books that you would consider essential for beginner ...

How best to perform corridor range search over a set of latitude / longitude coordinates

Hi, What would be the best approach to finding the set of coordinates, from say about 5,00, which lie within a path of points, given a specified width. eg an aircraft following several waypoints. Is there a good way to also sort them in the same order as the route. Calculation speed would be more important than accuracy, since I'm l...

Powerful .NET Map APIs?

A coworker of mine thought of a great way to visualize a lot of the data we work with in our user-end applications, but we're not aware of many available sdk's or apis that hook in. We're trying to recreate in essence, the "Magic-Wall" of CNN. We would like to be able to show trends across the country in a 'heat-map' kind of way, and be...

Best way to optimize dataset that contains linestrings. Some lines start and end at same coordinates.

THE SETUP I have a table which contains linestrings. Linestrings are made up of multiple geographic points. Each point is made up of a latitude and longitude. Note: the linestring value is stored as TEXT in the database. So one row in the table might look like this: id: an integer linestring: x1, y2, x2, y2, x3, y3, x4, y4 THE PROBLEM ...

How can I sort/group Salesforce leads by geography ?

If I had lat/long data for all our leads in Salesforce, is there a way to write a query to group them, or say list all the leads within 10 miles of San Francisco, CA ? [EDIT: Clarification] I have thousands of leads with both a full address, and long/lats. I want to build a query on these leads that will give me all of the leads near Sa...

How does a SHX-file work?

If you have geographic data stored in ESRI shapes, you have at least three files: one ending with .shp containing the vector-data, one ending with .dbf containing attributes and a file ending with .shx containing an index. I'm interested in the shx-file. How does it work? Does it contain a complete mapping, like 'first geometry maps to ...

Default Values for Dates in ArcGIS

Hello, In Microsoft SQL I can use the GETDATE() function as the default value for a DATETIME field. I'd like to be able to do the same kind of thing for a date field in an ArcGIS geodatabase. Is this possible, or am I limited to literal values? My geodatabase is using ArcSDE 9.1. The Feature Class with the defining attributes is versio...

Where can I get the x, y, z -coordinates for California to use a contour plot?

I would like to make California's map by the contour plot. However, I do not know how to get the necessary x, y and z -coordinates. ...

MS SQL Server 2008 Spatial Indexing - Does it work?

Has anyone tried using it and can say if it's well implemented? -- Assaf (who spent the last few weeks getting increasingly frustrated with MySQL's deficient implementation of OpenGIS functions and is now considering switching to MSSQL) ...

ArcGIS MapControl and Ms Access delay map re-draw?

Hello, This pertains to embedding ESRI MapControls into Access Database Forms. I have two access files, split into a frontend and backend. My backend is also a PersonalGeoDatabase that ArcGIS uses to store a feature class for display on a From embedded ESRI map control. The feature class stores polylines, points, and polygons which a...

How to approximate a vector contour from an elevation raster?

I have an elevation map stored as a raster. I'd like to fit a smooth "vector" curve to the contours of constant elevation. In my application, the data are actually geographic elevations, but the problem could be generalized to any function of two variables. I can produce another raster with anti-aliased contour lines, and use that as in...

Where can I find a map control for Delphi?

I am trying to build an option in a application that let user see a map. This map must be editable, and tag enabled. It should also be possible to see sub regions in different colors, and highlight the one under the mouse. ...

Pre RTree step: Divide a set of points into rectangular regions each containing one point...

Hi, given my current position (lat,long) I want to quickly find the nearest neighbor in a points of interest problem. Thus I intend to use an R-Tree database, which allows for quick lookup. However, first the database must be populated - of course. Therefore, I need to determine the rectangular regions that covers the area, where each re...

Heightmap generation algorithm?

I was looking around the internet and couldn't find a perfect algorithm for this particular problem: Our customer have a set of points and weight data along with each point as can be demonstrated by this image: Of which, we have a GIS program that could generate a "heightmap" or a sort of terrain data from these points and their weig...

looking for good geospatial library

What's a good library for geospatial functions? I mean things like distance between two points on the globe coordinates of a circle of a given radius from a particular point etc. Bonus if there's an interface to the various ways different databases represent geolocations. I'm a geo-noob (in case this question didn't make it obvious...

In Oracle Spatial (SDO), is there a way to get the centroid point of a polygon that is contained by the surface of the polygon?

I need to find the centroid of a polygon in Oracle Spatial that exists inside of the polygon itself. I cannot use the sdo_geom.sdo_centroid method because this returns a point outside of the shape if the shape resembles a horseshoe. I found sdo_geom.sdo_pointonsurface method, but it returns a point that is just on the edge of the pol...

Are there any open source mapping / GIS frameworks written in Silverlight?

I've been looking for an open source mapping / GIS framework along the lines of OpenLayers but written in Silverlight. Unfortunately I have not been able to find one. Preferably it would be able to consume services (e.g., maps, tiles, geocoding services) from the major map / GIS providers, including (in order of preference): MapServ...

How do I embed Google Map (or other GIS mapping) output in a PDF as I generate it?

I need to generate PDF documents server-side that include a map, with markers and the like, but to my knowledge this isn't possible with Google Maps because of JavaScript reliance. Is there some way to use the Google Maps API for this, or is there some other free (or cheap) alternative with this capability and comparable functionality? ...