DECLARE @Route geography
SET @Route = geography::STLineFromText('LINESTRING(-0.175 51.0, -0.175 59.0)',4326)
DECLARE @Route2 geography
SET @Route2 = @Route.STDifference(geography::STPointFromText('POINT(-0.175 52)', 4326))
SELECT @Route2
Why does @Route2 evaluate to LINESTRING (-0.175 59, -0.175 51) instead of a MULTILINESTRING consi...
How to get the coordinates of a particular point in a map in openlayers javascript libraray?
Thank you.
...
Is there a developer guide for Manifold System?
In their site i didn't find a beginners guide ,only a user guide and some samples.
I'm mostly interested in google map development through manifold.
Thank you
...
UpDate:
Yes, that was it!
Like mloskot said, the whole tabel needs to be dumped. selecting fields with sql loses information about fuield widths.
Thanks, that fixed it!
Hi All,
I have a problem with ogr2ogr. I'm trying to dump a PostgreSQL tabel to a Shapefile. ogr2ogr seems to change the size of data-types like integer and char.
H...
I have a bunch of Eastings/Northings coordinates, using the UTM convention as far as I can tell - so basically, they are cartesian coordinates - that I would like to convert to Latitude and Longitude.
Presumably NetTopologySuite can help me with this, but I can't find much documentation on it.
Anyone got some pointers to get me starte...
Edit
Here is the proper way to do it, and the documentation:
import random
from osgeo import gdal, ogr
RASTERIZE_COLOR_FIELD = "__color__"
def rasterize(pixel_size=25)
# Open the data source
orig_data_source = ogr.Open("test.shp")
# Make a copy of the layer's data source because we'll need to
# modify its attribu...
hi,
i'm working with a shapefile (.shp, .dbf, etc) and would like to convert it to xml. i'm on a mac, and am having trouble finding an application that will help me with the conversion. does anyone know of a method for converting this file format into an xml file?
thanks
...
Is it even that inaccurate? I re-implented the whole thing with Apfloat arbitrary precision and it made no difference which I should have known to start with!!
public static double bearing(LatLng latLng1, LatLng latLng2) {
double deltaLong = toRadians(latLng2.longitude - latLng1.longitude);
double lat1 = toRadians(latLng1.latitude);
...
I want to use NHibernate.Spatial. I also want to use new NHibernate 3.0 features such as the improved LINQ provider and the QueryOver functionality, which are only available in NHibernate's source control trunk.
Are these two things compatible? I can't work without Spatial but I really want the LINQ features, which will have to go if th...
Im just starting off with GDAL + python to support operations that cannot be done with ArcGIS python geoprocessing scripting. Mainly I am doing spatial modeling/analysis/editing of raster and vector data.
I am a bit confused when ArcObject development is required versus when GDAL can be used?
Is there functionality of ArcObjects that GD...
hi,
i'm trying to geocode values and map them to a satellite image of a city (new york city to be precise). i've successfully done this before using a geospatial image of the world, and then mapped/scaled longitude and latitude values from the max lat/lng range (-90,90 & -180,180) to the max width and hight of the image (0,width & 0,he...
I need an open source GIS that allows one to view/zoom/click the maps using a web browser and should be java compliant (deployable on a java app server).
Well, I have tried to structure the requirement in 'what-i-have' and 'what-i-need' lists:
Inputs:
Location: lat/long
Data : Text to display
zoom level: (assume there are about 5)
Out...
I'm building a KML file to use as a map layer in Google Earth and whatever else handles KML/KMZ files.
What I want to do is this: Display a number of bitmap images such that each is stretched to fit into a specified quadrilateral, where the first vertex of the quadrilateral specified would, for example, be the top-left corner of the bit...
So I'm writing a Javascript library that takes x,y coordinates and uses them to draw a map of the US. To do this, I need to find the coordinate data necessary to draw each state. This map on Wikipedia is a great example of what I need, because the SVG file contains the shapes that make up each state nicely labeled: http://upload.wikime...
Maybe this site is not the right one for this question, but it is really hard to find anything about this topic on Google. Here it goes:
Has anyone worked with GIS in Flex 3 and most importantly Elips Studio (www.openplug.com)?Since this tool is used in our project and it's still in Beta, so none of the map APIs are supported at the mom...
Does Google has a service similar to Yahoo! Placemaker:
Developers specify structured and unstructured content; feeds, web pages, news, status articles, etc.
Placemaker identifies, disambiguates and extracts places
Placemaker returns geographic metadata, which determines the whereness of structured and unstructured content
?
Thanks
...
I'm looking for a library based on Postgis and pgRouting that will provide driving directions as well as a route between any two given points. The second part works fine using pgRouting but can't seem to find anything that'll provide driving directions from the route output by pgRouting. Does anyone have any idea where I can find such a ...
I want to store locations in my Android phone and be able for the application to tell me if I am inside these points&radius.
What is the best way to store many point&radius locations and efficiently query for them?
...
My group is working with the GeoServer's GIS server, which provides the WFS service.
We are not sure how to make an HTTP POST request in Elips and send the following xml as part of the request:
<wfs:Transaction service="WFS" version="1.0.0"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:topp="http://www.openplans.org/topp"
xmlns:gm...
I am wanting to know what Algorithm SQL2008 uses when computing distance on Geography Data Types.
There are several such Algorithms as the Haversine and Vincenty, however I have found no references for what SQL2008 is actaully using.
...