Hot answers tagged

3

If you know for certain that your input longitudes range between 0 and 360, then yes: just subtract 360 from values that are greater than (or equal to) 180. If there is any possibility of "crazy" values (less than -180 or greater than 540) you might consider using the IEEE_REM function: fixed_longitude = IEEE_REM(longitude, 360.0) This will gracefully ...


3

Here is an example for fortran: Variables in explanation: long1 is the longitude varying from -180 to 180 or 180W-180E long3 is the longitude variable from 0 to 360 (all positive) To convert longitude from (0-360) to (-180 to 180) Matlab and fortran long1=mod((long3+180),360)-180 Matlab long1=rem((long3+180),360)-180 Fortran long1=modulo((...


2

SQL Server Spatial Tools is a CLR assembly that you can add to your database to assist with a number of operations that didn't come built in with the original release of SQL Server spatial objects. It has a set of functions to do similar operations as those found in Oracles SDO_CS. There is a projection example in the source code section, though it doesn't ...


1

A transformation is used when projecting features from one Coordinate System to another. A Feature Dataset does not store the transformation, but rather the features are stored in the Coordinate System they have been saved in. The transformation happens at projection. You will need to project your features first, selecting the desired transformation when ...


1

The Openlayers plugin has always had trouble when the project CRS is not EPSG:3857. QuickmapServices should overcome this. If you want to stick to OL, set the project CRS as needed, and reproject your DHDN layer to EPSG:3857, on-the-fly or permanently. Note that EPSG:3857 is not useful if you need to measure lengths or areas.


1

As determined by PolyGeo this is a transformation issue (http://support.esri.com/technical-article/000002828). Steps to solve this in detail: Right click Layers, chose properties, 'Coordinate System' tab: Click 'Transformations...' Note that at this point no transformation method can be selected. Under 'Convert from:' select GCS_WGS_1984 and 'Into:' ...


1

We are dealing with this issue right now and are looking at the DotSpatial library for .NET since it appears to have support for NADCON and NTv2. https://github.com/DotSpatial/DotSpatial



Only top voted, non community-wiki answers of a minimum length are eligible