The JPEG2000 raster file I was using did not have a .prj associated with it
(just a .j2w, .jp2.xml and a .jp2.aux.xml), so geoserver was assigning an
incorrect projection. I copied a .prj from another shapefile that used the
correct projection for the raster and now it works! Thank you to everyone
Thanks for the suggestion, it is quite large, but displays fine on it's own.
I am going to investigate the utility you mentioned to see if it helps with
speed. I substituted another raster and that one is working fine, so I think
my problem is that the porjection that geoserver is using for my ras
GeoGEOrge wrote:
>
> I was able to add my layer and have it show on top of Google streetmap-in
> the right location. But I am still unable to get it to show on top of my
> EPSG:4326 raster layer. Would a layer with EPSG:4326 require the
> sphericalMercator: true statement?
>
I don't think you
I was able to add my layer and have it show on top of Google streetmap-in the
right location. But I am still unable to get it to show on top of my
EPSG:4326 raster layer. Would a layer with EPSG:4326 require the
sphericalMercator: true statement?
--
View this message in context:
http://n2.nabble
Glad to help! I've struggled for weeks on issues that end up being simple
Javacript syntax errors. Sometimes it just takes another pair of eyes
looking at your code!
--
View this message in context:
http://n2.nabble.com/show-two-layers-with-different-projections-tp4717734p4738686.html
Sent from
Thank, you, Thank You, Thank you, for pointing out that I had the transparent
declaration in the wrong place! I have been struggling with that for some
time.
--
View this message in context:
http://n2.nabble.com/show-two-layers-with-different-projections-tp4717734p4738657.html
Sent from the Open
Do you have an example of code showing OpenLayers sending a request to return
each layer in the same projection used by a map? I tried adding
displayProjection with EPSG:4326 to both, but that didn't work
--
View this message in context:
http://n2.nabble.com/show-two-layers-with-different-projec
Thank you for the suggestion and the code to try.
I get the similar results:
I get the google street map with a big white square on it that extends from
the north pole to the south pole.
If I change it so both google and polygon are baselayers, I can zoom in on
the google streetmap to the right lo
Ummm. I wonder what happens if you try the following:
Try putting your data over Google. (By the way, this will only work on a
local machine unless you have an API key which is free, but I didn't include
it in my example:
http://www.openlayers.org/api/OpenLayers.js";
type="text/javascr
When a server such as Geoserver or Mapserver can support more than one
projection, OpenLayers needs to send a request to return each layer in the same
projection used by your map, otherwise the server may not know to send it in
the correct projection, in which case the data will not line up in y
I tried setting the opacity of the polygon layer to 1.0. Thank you for the
suggestion.
it resulted in a white, blank layer on top of the raster. The polygon still
did not display.
If i make both layers baselayers, I can flip back and forth and they both
display individually, but I cannot show the
It seems that when I fail to define the polygon layer as EPSG:2249, it fails
to display.
--
View this message in context:
http://n2.nabble.com/show-two-layers-with-different-projections-tp4717734p4718648.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
No worries, I'm a beginner as well.
I've had luck putting a vector layer (as a WMS) over a raster (another WMS).
But, I set the opacity of the 'vector' to 1.0
Worked just fine. And I let geoserver do the projections.
Good luck.
--
View this message in context:
http://n2.nabble.com/show-two-l
I'm just a beginer with openLayers. I'm just trying to get something to show
up!
--
View this message in context:
http://n2.nabble.com/show-two-layers-with-different-projections-tp4717734p4718518.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
Remember that a WMS service is serving the vector layer as a raster. If you
want to serve a true vector, you have to use a WFS.
-Matt
--
View this message in context:
http://n2.nabble.com/show-two-layers-with-different-projections-tp4717734p4718443.html
Sent from the OpenLayers Users mailing li
Thank you for your suggestion.
I did as you suggest, but I still end up with the raster showing with a
white haze over it - no vectors.
if I use a baselayer that is in EPSG:2249 and show the EPSG:2249 layer on
top, both layers display.
--
View this message in context:
http://n2.nabble.com/show-t
I am trying to use openlayers to display a raster with projection EPSG:4326
and a vector layer with projection EPSG:2249.
I am able to display each separately, but I cannot get the vectors to show
on top of the raster.
both are WMS layers served by GeoServer 2.0.0
var options = {
17 matches
Mail list logo