gis

How do I convert coordinates to a Latitude & Longitude?

I am reverse engineering a transportation visualization app. I need to find out the latitude for the origin of their data feed. Specifically what XY 0,0 is. The only formulas I have found calculate distance between two points, or location of a bearing/distance. They use the XY to display a map in a very legacy application. The XY is in ...

Can GeoServer be used in a commercial application?

GeoServer is licensed under the GPLv2. I know that this means I cannot make derivative commercial works from this application. For instance, I cannot add new interfaces, plugins, etc to GeoServer as a closed source application. However, can I use it as a backend server to frontend closed source application? An oGC compliant map server...

How do you get transparent background in a layer with UMN mapserver?

I want to include different sources of maps in a mapclient. One source I provide myself with a self-written mapfile rendered by an UMN-mapserver. Problem is, that UMN renders the background (places there no feature is) as white, and if I combine this in the mapclient, this hides all layers behind. What do I write into the mapfile, that t...

GIS Draw a parabola flight path in kml for google earth

Hi, I have to display flight paths on google earth and (still I got the exact flight plan path) want to show in a parabola way (markting side). From the taking off to the landing points. Basically I'm looking for the math formula to calculate latlng point with altitudes to display the parabola path. I see how to do the parabolic view wi...

Does PostgreSQL implement Geospatial relationship queries?

My company is looking at different database providers, and how they implement Geospatial queries to get distances from a Lat/Long for a number of records. We are going to investigate PostgreSQL as a potential database platform. I've heard that PostGRE implements Geospatial queries. Is this correct? Is there a good reference somewhere...

How can I make a Bitmap from MapXtreme Styles

I have posted this question on The MapXtreme forum but since nobody ever answers questions there I am hoping someone here has some experience with this product (mapxtreme is a GIS SDK made by the people who make MapInfo) I am working on a MapXtreme Desktop app and we need bitmaps of our features styles I have tried two ways but all I ...

How do you figure the solar diffuse proportion and transmissivity value from data?

The data can be found here: http://rredc.nrel.gov/solar/old_data/nsrdb/bluebook/data/24283.SBF How do I figure the solar diffuse proportion and the transmissivity value from what's there? Anyone know? Thanks! ...

Good books on cartography/GIS programming?

I'm looking for some recommendations on good books that cover cartography and GIS from a programming perspective. I'm not talking about books that concentrate on some concrete GIS technology or GIS product. Ideally the book should cover stuff like map projections coordinate systems image rectification and georeferencing (GeoTIFF, world...

Anybody using SQL Server Spatial in a production environment?

I'm looking for some spatial database features but can't upgrade to SQL Server 2008 at the moment. I've come across this open source mssqlspatial package which would provide most of the features I need however I'm hesitant to deploy it without knowing if it's production ready. I was wondering if anybody out there had deployed this pack...

I've got a road on map. How to convert it into a function?

I have an image file of a map and a curvy road marked with bold red line (wider than 1 px, there is no other red objects on image). Can someone please suggest steps how to recognize this road as a line and then turn it into a function y=f(x) so I can measure precise distances. I have no idea where to start... Thanks. ...

Looking for image rectification resources

I'm looking for some good resources (articles, algorithm descriptions, SW libraries...) on image rectification for GIS purposes. Are there any .NET-accessible open source libraries for this? Thanks in advance ...

How to convert UTM coordinates to Latitude and Longitude?

Duplicates: How do I convert coordinates to a Latitude & Longitude? How to convert from UTM to LatLng in python or Javascript2 My current project is interfacing with a central geocoding service published by the local city planning department. The service is designed primarily for surveying, and as such returns coordinates in a UTM X...

Calculating the contours of a 3D heightmap?

I am looking for a function or example to produce a list of lines representing contours at a specific height within a heightmap. Eg, Lines[] = GetContours(Heights[512,512], HeightValue) Where Heights is a 512x512 array of floating point values, HeightValue is the height at which the contour should be drawn. Heights may contain multip...

GIS find Points (long lats) that are contained by a polygon expressed as a collection of long lats

I'm trying to find all data items that have long/lats that are contained by a polygon made up of an array of long lats could be many points. I know you can do this kind of stuff with the new geospacial datatypes in SQL 2008 but i'm using SQL 2005 and C#. Would this be best done on at the DB end or in C#. Thanks. ...

retrieve bounding box of a geodjango multipolygon object

How can I get the bounding box of a MultiPolygon object in geodjango? Can't find anything in the API http://geodjango.org/docs/geos.html ... ...

Figure out if I'm nearby something

I've got my current location lat long and I've got a list of places and there lat long. What I'd like to do is figure out if I'm nearby one of the places, nearby would be something like +100m. I don't want to display a map, just know if I'm near it. What kind of php libraries are available for comparing location/lat long? Or can I solv...

Slow performance from MapServer

I'm using mapserver to create a map that will be displayed with the google map api. I'm encountering performances issues. My maps are all in shapefile format. I run tests to get time to render maps. When rendering a map with the shp2img tool, using command line shp2img -i gif -m C:\myfolder\mymapfile.map -o C:\myfolder\test.gif -all_...

Finding Cities within 'X' Kilometers (or Miles)

This may or may not be clear, leave me a comment if I am off base, or you need more information. Perhaps there is a solution out there already for what I want in PHP. I am looking for a function that will add or subtract a distance from a longitude OR latitude value. Reason: I have a database with all Latitudes and Longitudes in it ...

How do I link to internal files in a KMZ file?

I'm trying to set up a KMZ file for use in Google Earth where the balloon contents are mostly defined in HTML files, which are embedded using iframes. The setup works with a plain KML file and the extra HTML files when using relative links on the local filesystem (assuming filesystem access is enabled). My problem is that I can't find a...

Screen co ordinates to latitude and longitude

In open layers library, below is the method used to convert a screen co ordinate to latitude and longitude. I am not able to figure out the logic this method encapsulates? getLatLonFromPoint: function (point) { var center = this.getCenter(); //map center lat/lon var res = this.getResolution(); //pre defined by the u...