0
votes
2answers
32 views

OpenLayers + Geoserver problem with wfs projection

In geoserver i have a layer in EPSG:26191. In OpenLayers i add it on map as WFS: markerLayer = new OpenLayers.Layer.Vector('Markers',{ strategies: [new OpenLayers.Strategy.Fixed()], ...
1
vote
0answers
55 views

MySQL+GDal+MapServer+OpenLayers WebMercator problem

I have a problem/question what is the most efficiant way to go from WGS84 (epsg:4326) to webmercator. Outline of the structure right now: MySQL Database: with point Latitude/Lontiude Data [~200 ...
0
votes
1answer
26 views

Projections when using google maps and rest service on openlayers

I am trying to use a rest service on an openlayers map that has 2 google maps layers. The google map layer is set to it's own custom projection (which I had to code into the library by hand, but I ...
0
votes
2answers
104 views

Projection problem? — OpenLayers, Drupal, and MapBox

I've installed OpenLayers in Drupal 7 and created a view that pulls geofield data for a "Geography" vocabulary (states, tribes, and U.S. jurisdictions) and shows points on a map that I'm storing on ...
1
vote
1answer
40 views

OpenLayers Projection and Datum Question

I had a conversation with a co worker that was asking about an OL map I am developing. She asked me what the 'projection' was and I said EPSG:4326. She didn't know what that means, so I said it's ...
1
vote
1answer
97 views

How to automatically transform between base layer and vector layer in OpenLayers

I have a simple example on http://jsfiddle.net/29bsw/ I have a map with an OSM layer as base layer and an additional vector layer. The projection of the map is defined as EPSG:900913 and the ...
2
votes
2answers
1k views

how to convert latitude, longitude projection from epsg:3857 to epsg:4326

I want to use geocode in our application. so that, I got Google geocoding API and could achieve with Google Maps. Problem is that I wanted to achieve the same with my own map which is having ...
-1
votes
1answer
231 views

My wms vector data overlay on openlayer vmap work fine but on osm img is not rendering

i am try to overlay my India roads vector over an openlayer (http://vmap0.tiles.osgeo.org/wms/vmap0) vmap work fine.but i want to do the sam task over osm(open street map), i am trying many different ...
2
votes
1answer
180 views

Qgis OSM and layer projection problem

I am using QGIS 2.1.0, and trying to import my vector layer(parcels) with OpenStreetMap layer. My vector layer (parcels) use EPSG 31277 coordinate system. This is the definition for EPSG 31277: ...
0
votes
1answer
143 views

OpenLayers overview shows wrong map

i have a problem. I have to implement a map with OpenLayers. As BaseLayer I use an external WMTS-Service, which has the projection EPSG:25832. I want to have an OverviewMap, but the OverviewMap ...
1
vote
1answer
257 views

OpenLayers using GoogleMaps layers: issues with setCenter and transform

Past week or so I have been doing everything in just OpenLayers and has been going great: been using markers, vectors, bringing in json data via php, and some ajax. Everything has been in one layer ...
0
votes
0answers
304 views

openlayersplugin qgis 2.0.1

I have installed qgis 2.0.1, great thing... but.. open layerplugin doesn´t work proper. When I try to load two different open layers I get the answer "could not draw google satellite because:" Also ...
2
votes
1answer
46 views

Change the projection at runtime (OpenLayers)

How do I change the projection on an existing Map object? I'd like to allow a user to switch between cylindrical (EPSG:4326) and custom-declared projections with the click of a button.
1
vote
1answer
57 views

cannot get EPSG of bounding box

I use openlayers 2.12. I created a form where the user can insert a bounding box, to insert to the database a new borough. To check the EPSG of the borough I tried the following //ba bb bc bd came ...
1
vote
1answer
71 views

What should this projection be in OpenLayers?

This is esri rest prj, "spatialReference": {"wkt": ...
0
votes
2answers
161 views

How to use OpenLayers OSM-Layer with degrees instead of meters?

I have an OSM-Layer as a base layer. When I create a vector I have to define the coordinates in meter. Is there a way to use degrees right a way without reprojecting them beforehand to meters? var p0 ...
1
vote
3answers
377 views

Can I use Openlayers Plugin with a different Datum/Projection?

There is probably already a post for my problem, but after long searching, I could not find a solution for my issue. I am working with QGIS und I am using the following projection/datum: MGI / ...
1
vote
1answer
189 views

Openlayers and KML layer projection issue

I'm not a GIS expert at all, but I've been asked to add a KML layer to an Openlayers map which probably needs some tweaks and that's where I get confused. Let say I have an Openlayers map with the ...
0
votes
0answers
108 views

Changing the projection of the output to my OpenLayers click event handler

I've been playing around with the OpenLayers click event handler example, which you can see here. It tell you the coordinates where you have clicked but I am trying to change this to be in decimal ...
1
vote
1answer
96 views

openlayers:transform from ITM to 900913 is not accurate

i did a custom projection ITM (Israel TM) and i then am doing transform to all the feature before im adding them to the map, from ITM to 900913 proj because i want to show the feature on the map. this ...
0
votes
1answer
108 views

Openlayers: transfer from custom projection to map projection

I am building webApp with openlayers that contain a map that allowed insert edit and remove points, my map is now using “EPSG:4326" projection. I have shp files and xlsx files that contain polygons ...
2
votes
1answer
323 views

OpenLayers and custom Proj4 Projection

ok so I'm a newbee in using OpenLayers. I try to map some planetary data on my webMap server using OpenLayers. I defined a proj4 projection as follow: Proj4js.defs["MYDATUM"] = "+proj=longlat ...
1
vote
1answer
612 views

OpenLayers TMS limit zoom and extent

I have a custom map which I get from a mbtiles file with the bounds -13,25,49,60 and zoom from 4 to 10.The display div is dynamic, I mean that it depends on window size and the extent restriction ...
1
vote
1answer
171 views

How do you make a function for changing projection with proj4js in Openlayers?

I have included Proj4js in OpenLayers. I would like to create a function (so I can use a make a button). To change the projection of my map. I have included in javascript Proj4js.defs["EPSG:54008"] ...
0
votes
1answer
182 views

How can I clean up this OpenLayers code by correctly doing a transform or projection, for an array of features?

I have some features I've created via some Kml data. Now, to display these features on a Google Map, I need to project them from 'EPSG:4326' to 'EPSG:3857'. This works great. Now, i need to convert ...
1
vote
1answer
401 views

TileStache + OpenLayers TMS - Tiles are rendered disorderly

I newly turned to TileStache to render Mapnik tiles because of the caching option. Before, I was using Mapnik python bindings only and it was working perfectly. Now that I use TileStache, the tiles ...
0
votes
1answer
193 views

Why does map display like it is in Isometric when everything is in EPSG:4326?

I'm beginning with Geoserver and try to display a map of my country (Belgium) is an openlayer map (embedded into a MapPanel object). I've downloaded the municipalities limits from gadm.org and copied ...
2
votes
1answer
414 views

Blank MapServer WMS image at low zoom levels in OpenLayers

I have an OpenLayers map using OSM as the baselayer with several layers coming from MapServer via WMS. The OL map is in EPSG:3857 and my mapfile (and shapefiles) are in EPSG:4326. In my mapfile I ...
1
vote
1answer
409 views

Problem Overlaying layers in OpenLayers

I have a html page with 2 WMS layers. The first is one Base Layer , & the second is my personal WMS feature. I load it from Geoserver. The problem when I add the 2 layers I do not have the ...
1
vote
1answer
306 views

Wrong projection on WFS layer with OSM baselayer [duplicate]

I am trying to add a vector layer with a WFS protocol. var wfs = new OpenLayers.Layer.Vector("WFS", { strategies: [new OpenLayers.Strategy.BBOX({resFactor: 1})], ...
1
vote
1answer
938 views

openlayers multiple layers with different projection

My page contains two layers: 1. Open Street Map as a basic layer and WMS layer from mapserver as a overlay layer. My map show this two layers but in a wrong position. I spent a lot of time trying ...
0
votes
2answers
387 views

OpenLayers WMS - TypeError: this.resolutions is undefined

I'm trying to setup a map with WMS and WFS Layers by using Geoserver. However, when I'm combining WFS and WMS (with some Google basemaps) together in one map I got following error in Firebug: ...
1
vote
2answers
434 views

WFS reprojection problems

In geoserver i have a layer in EPSG:4326. In OpenLayers i add it on map as WFS: markerLayer = new OpenLayers.Layer.Vector('Markers',{ strategies: [new OpenLayers.Strategy.BBOX()], ...
0
votes
1answer
198 views

GMT raster (*.tiff + *.pgw) in epsg4326 shifts few kms (4326-900913-3857 problem?) [duplicate]

This seems to be an old problem with an already known solution (ie. "...stop using 900913 and start using 3857..."), but not sure whether this problem is about software versions, the raster itself or ...
3
votes
3answers
297 views

How to reproject to other projections than WGS84 or Webmercator?

I have an OpenLayers map with a vector layer to add points on. I'm using Google Maps as the base layer. After the point is added, I need to store the data in my database as lat/long and x/y. Can I ...
0
votes
1answer
155 views

Projection - Some of my data are in odd position [closed]

Some of my data has this position lon: 181 / lat: 91 So when I try to draw them on the Google map: var geographic = new OpenLayers.Projection("EPSG:4326"); var mercator = new ...
3
votes
2answers
314 views

Question Regarding Interpretation of Openlayers BBOX in 4326 Projection

I have a BBOX strategy in my Vector layer, which is sending HTTP GET Requests to my server in order to get the features I wish to display. The projection of the layer is EPSG:4326, so it is my ...
2
votes
0answers
264 views

Mapserver+openlayers: displaying a shapefile with Cylindrical Equal Area (Lambert) projection

I have some shapefiles in "World Cylindrical Equal Area (Lambert) projection". The .prj reads: PROJCS["World_Cylindrical_Equal_Area",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_ ...
2
votes
1answer
385 views

OpenLayers Vector Layer not aligned with Google Oblique Imagery

Check http://jsfiddle.net/vasile/BKvcX/6/ In the first map, the yellow line should follow the street curve, however if you pan the map up-down, you clearly see the misalignment due to what ? ...
2
votes
0answers
107 views

Projection declaration in dojox.geo.openlayers possible?

I am trying to integrate some maps of my own into the dojox charting demo and I had success in exporting a shapefile (externally, i.e. with my own parser) to the dojo JSON map format. The map is in ...
2
votes
2answers
1k views

Howto change OpenLayers BBOX request projection?

My map uses EPSG:900913 projection on the map. All coördinates in the database are stored in the 'normal' google format / GPS coordinates (WGS84). For instance, if you save a new location..Before I ...
2
votes
1answer
60 views

What is the purpose of having a separate Layer property for sphericalMercator?

The Beginner's Guide to OpenLayers 2.10 says the following: sphericalMercator {Boolean} This property determines if the map should behave as a Mercator-projected map. Setting this to true ...
3
votes
1answer
239 views

Why are two incompatible projections used together in OpenLayers? [duplicate]

While going through the examples in OpenLayers, I notice several examples with the following code: map = new OpenLayers.Map('map_element',{ ... units: 'm', projection: new ...
1
vote
0answers
78 views

OpenLayers doesn't understand Mercator map measured in degrees?

I have access to a map server that takes a bounding box measured in degrees, and returns a map, projected in Web Mercator. I'm having trouble configuring OpenLayers to use a Mercator projection that ...
4
votes
1answer
857 views

OpenLayers Map with custom SRS (without EPSG code) [closed]

Is it possible to show geodata by OpenLayers in custom projection? I want to show my geodata in OpenLayers interface. Source layer(s): shape-file(s), standard epsg:4326 lon/lat projection; ...
1
vote
0answers
164 views

Project tiles from custom imagery in transverse mercator with OpenLayers

I have the following parameters of a custom imagery and I need to set-up a layer in OpenLayers with which I would project the tiles properly from this imagery. TransverseMercator ellipsoidName=WGS84 ...
0
votes
1answer
710 views

lonlat from geometry point gives strange result

I added a vector layer to my main map with the controls like the example from openlayers: http://openlayers.org/dev/examples/draw-feature.html Now when I want to get the resulting lonlat from the ...
2
votes
0answers
380 views

Get tile URL with projection different than 900913

I have the following code, which should display a slippy map showing tiles producted by me with mapnik: Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 ...
1
vote
1answer
491 views

OSM Map projection doesn't seem to change

I have the following OpenLayers map: Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 +y_0=-5000000 +ellps=bessel ...
1
vote
1answer
412 views

Geoserver and SRS

I have a very basic problem, and please bear with me since I'm new to GIS. I have geoserver installed in a Ubuntu Box and installed a few maps in shapefile. The maps were originally in ArcGIS format ...