My overlay layer keeps jumping around when I pan the map. It only does it on
Firefox. I've tried 2.6, 2.7 and 2.8. All of them do it. Anyone know how
I can fix it? It's probably somewhere in Image.js
base_layer = new OpenLayers.Layer.WMS(
"Geoserver laye
Hi all,
I am making some progress setting up a WFS-T, it seems that my code works
since I don´t get any error, but the layer doesn't display in the map. I
have read that this problem can be solved by setting the Proxy Host, however
I was not able to set it up. I am using: Tomcat 5.5, Geoserver 1
http://docs.openlayers.org/library/spherical_mercator.html
read this over paying special notice to the projection transformation sections.
-Original Message-
From: users-boun...@openlayers.org on behalf of taviroquai
Sent: Thu 8/6/2009 10:32 AM
To: users@openlayers.org
Subject: [OpenLaye
Hi,
The projection of my OL map is in epsg:900913 and displayProjection is
epsg:4326.
It seems that scaleLine control and measure control do not return good
values. The scaleline value and the measure are always higher than
expected.
For the measure control I set geodesic: true and now the resu
Jerome Freyre ha scritto:
> Hi Andrea,
>
> I am using GeoServer 1.7.5 (for Mac) and OL 2.8
>
> So I juste have to had the declaration
> xmlns:gml="http://www.opengis.net/gml"; in the tag?
The error message seems to point there, and in fact the
GeoServer sample transaction calls do have that dec
Hi Andrea,
I am using GeoServer 1.7.5 (for Mac) and OL 2.8
So I juste have to had the declaration
xmlns:gml="http://www.opengis.net/gml"; in the tag?
aaime wrote:
>
> It would seem the gml prefix has no declaration in the document?
>
> In fact:
>
> http://www.opengis.net/wfs"; service="
Jerome Freyre ha scritto:
> Hi Kris,
>
> It seems you are right... I tried to update only one column at time.
>
> It works for all column except those one:
>
> the_geom
>
>srsName="http://www.opengis.net/g
Hi all!
I'm using the sphericalMercator has recomended in
http://trac.openlayers.org/wiki/SphericalMercator
What am i doing wrong? It should be simple like this:
map = new OpenLayers.Map('map');
map.addControl(new OpenLayers.Control.LayerSwitcher());
var base = new Open
gwales wrote:
>
> I can't get past stage one, map.getExtents() or layer.getExtents() always
> return null and throw an error.
>
I Needed to wait for OSM layer to load so put a loadend event handler to
catch the Extents.
--
View this message in context:
http://n2.nabble.com/Help-with-getExte
Hi Kris,
It seems you are right... I tried to update only one column at time.
It works for all column except those one:
the_geom
http://www.opengis.net/gml/srs/epsg.xml#EPSG:21781";>
hi,
we are talking about WMS layer here right?
If it is the case, then OpenLayers doesnt have anything to do with
it, but your server (Geoserver or whatever youre using) that generates
images, so you could find more info there
http://geoserver.org/display/GEOSDOC/LabelingOptions
and check:
10
Hi Jerome,
Could it be the data? The invalidParameterValue exception in combination
with the value 48/6 in the id_comb column looks a bit tricky to me.
Perhaps the / needs to be encoded or escaped or so?
Cheers Kris
-Original Message-
From: users-boun...@openlayers.org [mailto:users-boun
I am using Openlayers and OSM to show a GPX tracklog file and all loads well
with the viewport updating to a best fit of the GPX data.
I now need to get the extents of the map/layer in Lat/Lon to allow me to
query a point layer via ajax and load local content as vector points. I can
see I need th
Hi List!
I have some datas in a PostgreSQL database. I recover datas trough geoserver
via a vector layer with WFS protocol like it seems to be recommended.
I can easily (after some efforts :D ) add or delete somes features but I am
unable to update a feature...
A xml sample that is posted to my
Marc Jansen-2 wrote:
>
> Hi Max,
>
> It is possible to add Geometry Collections to Vectorlayers:
>
>
> var gc_geometry = new OpenLayers.Geometry.Collection(
> [
> new OpenLayers.Geometry.Point( ... ),
> new OpenLayers.Geometry.LineString( ... ),
> new OpenLayers.Geometry.Polygo
Hi Max,
It is possible to add Geometry Collections to Vectorlayers:
var gc_geometry = new OpenLayers.Geometry.Collection(
[
new OpenLayers.Geometry.Point( ... ),
new OpenLayers.Geometry.LineString( ... ),
new OpenLayers.Geometry.Polygon( ... )
// etc.
]
);
var gc_feature = n
Dear openlayers users and developers,
I want to know if it is possible to show an geometry collection in an vector
layer?
If it is possible could anyone help me please with my code or tell me what
is the right way for using the geometrycollection??
>>>
Hi,
the first question should be asked at the MapServer Userlist.
as for the second, I cannot think of a way of preloading to gain speed,
but maybe I am missing a point here.
Regards,
Marc
Mr. Bic Phuong schrieb:
>
>
> Dear OpenLayers Developers and Users,
>
> Currently I'm using MapServer an
You don't even need a scale control for that. Just register with "zoomend"
event of your map object and add the scale to any div element you need.
map.events.register("zoomend", map, function () {
document.getElementById('scale_div').innerHTML = map.getScale().toFixed(0);
});
Von: users-boun
Hi Hanno,
you need to pass in two parameters to the constructor of
OpenLayers.Control.Scale:
1. the div
2. the options-object
In your case this should work:
var scale = new OpenLayers.Control.Scale(
document.getElementById("kartenElemente"),
{
// other options
}
);
map.addControl(scale);
Re
20 matches
Mail list logo