Thanks for your help and patience so far...
I´ll try to explain better my problem...
I have a google base and several wms overlay layers ... Everthing is working
fine...
Relevant code:
Map
PROJECTION
"init=epsg:900913"
END
METADATA
"wms_srs" "EPSG:4326 EPSG:900913"
Layers
Your layer projection block should reflect the spatial reference
system of the data that the layer is based on (input projection). The
projection block at the map level sets the output projection when your
application receives a normal MapServer request. For WMS requests,
this is handled by the l
Thanks!
Yes, i tried my layer two ways :
PROJECTION
"init=epsg:4326"
END
==> Nothing appears
PROJECTION
"init=epsg:900913"
END
==> The layer was draw, but in other location (0 0´0´´E 0 0´0´´N)
Paul
On Wed, Aug 18, 2010 at 11:08 AM, David Fawcett wrote:
> Paul,
>
> I don't think tha
Paul,
I don't think that it matters for this case, but I think that you want
to drop the '+' sign from your MAP level projection block.
Do you have a projection block for your layer? That is definitely required.
David.
On Wed, Aug 18, 2010 at 9:00 AM, Paul james wrote:
> Yes, My proj.4 has EP
Yes, My proj.4 has EPSG:900913...
My mapfile:
MAP
...
PROJECTION
"+init=epsg:4326"
END
WEB
IMAGEPATH '...'
IMAGEURL '...'
METADATA
"wms_title" "WMS Server"
"wms_onlineresource" "..."
"wms_srs" "EPSG:4326 EPSG:
Paul,
What does the rest of your mapfile look like?
Is there a record for EPSG:900913 in your proj.4 database?
David.
On Wed, Aug 18, 2010 at 8:29 AM, Paul james wrote:
> I tried that setting wms_srs (mapserver):
> METADATA
> "wms_srs" "EPSG:900913"
> "wms_title"
I tried that setting wms_srs (mapserver):
METADATA
"wms_srs" "EPSG:900913"
"wms_title""Test"
"wms_feature_info_mime_type" "text/html"
END
But without success...
Any idea?
Thanks
On Wed, Aug 18, 2010 at 10:02 AM, BMcBride wrote:
>
>
> Paul
Paul james wrote:
>
> Is it possible to reproject my baselayer in client? How?
>
I don't believe so. Your baselayer's native projection should be
EPSG:900913. You also may be able to reproject server side by defining a
SRS parameter (I know this works with GeoServer).
-
Bryan R. McBride,
Is it possible to reproject my baselayer in client? How?
Thanks
On Tue, Aug 17, 2010 at 10:21 AM, Paul james wrote:
> Thanks...
> But how can I do that?
>
> I tried add to that layer : projection: new
> OpenLayers.Projection("EPSG:900913"),
> But without success...
>
>
> var wmsBaseLayer = new
Thanks...
But how can I do that?
I tried add to that layer : projection: new
OpenLayers.Projection("EPSG:900913"),
But without success...
var wmsBaseLayer = new OpenLayers.Layer.WMS("
TestWmsBaseLayer",
_mapfile, {
"LAYERS": ['WmsBaseLayer'],
Make sure your wmsBaseLayer has the same projection as your Bing base layer
(EPSG:900913). Have a look at the
http://docs.openlayers.org/library/layers.html layers documentation and
note particularly this part: "The currently active base layer determines the
available projection (coordinate syst
Hello guys...
I have an application with Bing base layer with some WMS overlay
Thats working fine :
map = new OpenLayers.Map('MapTest', {
units: "m",
projection:new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326"),
12 matches
Mail list logo