3
votes
1answer
25 views

Does IDistanceOP.EucDistanceFull require a projected coordinate system?

I have designed an implementation of ArcObjects' IDistanceOP.EucDistanceFull. It takes its input as a feature class and converts it to a GeoDataset with which EucDistanceFull can work with. It works ...
0
votes
0answers
38 views

I want to change EPSG:4326 to EPSG:900913 using C# for a set of uploaded shapefiles

I have written some code (using help from these pages) that uploads a directory full of shapefiles to a geoserver using C#. The uploaded shapefiles are set to EPSG:4326 however I would like them to be ...
0
votes
0answers
15 views

How to use Mercator projection on png map [duplicate]

I´ve got map(png) with size 2143x1723. When i want to get WGS84 coordinates to each point i use following algorithm for (int i = 0; i < pictureBox.Image.Height; i++) { // ...
4
votes
2answers
363 views

How to convert NAD 27 to WebMercator in using the ESRI Silverlight API? (C#)

I am working with the ESRI Silverlight API. I found THIS post in the ESRI forums and THIS OTHER which show how to convert between WGS84 geographic coordinates and WebMercator coordinates. I want to do ...
4
votes
2answers
217 views

Why isn't valid geometry not valid in NetTopologySuite when close to poles?

I have a Polygon which crosses the south pole: Polygon in WKT: POLYGON((5.86826073458095 75.6638564054071,-16.5436836399021 63.2220742891438,-19.3664667294083 59.846221066959,-21.7009816876343 ...
9
votes
2answers
1k views

API documentation for Gdal/Ogr with C#

I want to assign projection to shapefile in my web C# application, for this i am using Gdal/OGR/OSR C# bindings and add osr_csharp.dll and ogr_csharp.dll references. But i am facing some difficulty ...
3
votes
1answer
430 views

How can I programmatically project the Z value of a z-aware feature point, using ArcObjects in .NET/C#?

I discovered the following code leaves the Z coordinate of featurePt untouched: // if not WGS84 project it if (!SpatialRefsEqual(featureSpatialRef, srWgs84)) { // featurePt here is a Z-Aware ...
4
votes
5answers
5k views

How to convert coordinates from Gauss-Krueger to Longitude/Latitude?

I'm a newbie in the GIS world so please advise me :) In my .NET/C# project I need to show some shapes/points on the Bing Map. The problem is I have the Gauss-Krueger coordinates and need to convert ...
4
votes
4answers
6k views

Convert latitude and longitude into northings and eastings

Hi I have the following UK postcode dy8 3xt and know that the latitude and longitude is:- 54.452772 -2.156082 I also know that the Eastings, Northings for the postcode is:- 389490 283880 ...