Hi,
Here is my code,
layer_map is my base layer. I put it in order to display my map. As I
noticed layer_wms1 and layer_wms2 are not mine. It uses wms server from
other companies.
map.addLayer(layer_wms1);
map.addLayer(layer_wms2);
map.addLayer(layer_map);
In this configuration my layer_map
What type is your base layer? WMS?
If so, you can use allOverlays: true on your MAP object.
Best regards,
Bart
Hi,
Here is my code,
layer_map is my base layer. I put it in order to display my map. As I
noticed layer_wms1 and layer_wms2 are not mine. It uses wms server from
other
Guess who?
It's me.
Just letting you know I realized it was not just a matter of that '/' in the
feaureNS URI: WFS features doesn't appear also if I open the HTML page
directly from the filesystem, that is if I open file:///GEOSERVER
DIR/webapps/geoserver/MyExample.html instead of
Hi!
I am working with GWT-OL from page
http://sourceforge.net/projects/gwt-openlayers/.
I was thinking if someone may know the way to get the name of attribute
(name of column in the database) dynamically? My idea is not to hardcode the
name of attributions in the code. Is there a way to do
As long as you are able to parse the data, putting them on the map is a
no-brainer, pseudo-code something like:
for each feature
- fetch x and y
- create an OpenLayers Geometry
- create a OpenLayers Vector feature
- add attributes to feature if required
then add features to
Hi list,
I want to display a wfs layer but I get only a firebug response.
My code:
var wfs2 = new OpenLayers.Layer.Vector(WFS_,
{strategies: [new OpenLayers.Strategy.BBOX()],
projection: new OpenLayers.Projection(EPSG:4326),
protocol: new
On Mon, Mar 8, 2010 at 4:32 AM, Piero Campa piero.ca...@gmail.com wrote:
Guess who?
It's me.
Just letting you know I realized it was not just a matter of that '/' in the
feaureNS URI: WFS features doesn't appear also if I open the HTML page
directly from the filesystem, that is if I open
Oh I just don't want to work directly from the filesystem, I just worked that
way because I used to click on the .html file on the filesystem to see it on
the browser.
My question was just curiosity, and I found that probably it's a matter of a
Geoserver policy which lets you retrieve data only
Hi Bart...
On Mon, Mar 1, 2010 at 9:35 AM, Bart van den Eijnden bart...@osgis.nlwrote:
2) use multiple dns entries for your Geoserver host
How can I do that using Mapserver WMS/OL?
Thanks
___
Users mailing list
Users@openlayers.org
Hello,
What is the name of your layer in the Server? You don't seem to be passing
that to the layer constructor. Do 2 things:
. confirm in the server the layer's name and that there's nothing wrong with
it (accessing the demos at Geoserver);
. try a simpler layer setup like the following in a
Hi,
thanks for your suggestion!
Name of the layer is correct. I use featureType: mylayer (without prefix)
and/or typename: gn:mylayer but neither worked.
Firebug gave me:
gml:boundedby gml:nullunknown/gml:null
I think because of different EPSG/coordinates. But don´t know how to manage
best
HI again,
Indeed it seems that the request is for a region that doesn't exist in the
server (due to the wrong SRS). Try to add the EPSG to the layer constructor:
var wfs2 = new OpenLayers.Layer.WFS(
myLayer,
http://myserver:81/geoserver/wfs;,
{
HI again,
Indeed it seems that the request is for a region that doesn't exist in the
server (due to the wrong SRS). Assuming that there's nothign wrong with the
layer in the server you could try to add the EPSG to the layer constructor:
var wfs2 = new OpenLayers.Layer.WFS(
Hello everybody
I want to add a line splitting tool to my webgis. This is working well.
But, the problem is that I want to add a point feature where the split has
occured. To do this, i would need the location (XY) of where the split.
Is this information available through an event function?
You probably need to ask your system admin or hosting provider.
Best regards,
Bart
On Mar 8, 2010, at 5:08 PM, Paul james wrote:
Hi Bart...
On Mon, Mar 1, 2010 at 9:35 AM, Bart van den Eijnden bart...@osgis.nl wrote:
2) use multiple dns entries for your Geoserver host
How can I do
Hi,
I tried to alter srs code at geoserver from 31467 to 4326. If I use option
reproject at geoserver gui I can see my layer from geoserver demo page (if I
use force declared or keep native I could not even see my layer). But if I
want to make a getfeature request I get an exception:
error
Hi Brian,
Thank you very much for your continued support.
I have altered the version to 1.1.0, this is reflected in the
response. Still, no WFS data is displayed on the map.
I also included an explicit OpenLayers projection, this hasn't worked
either. In searching for the syntax for the
On Saturday, March 6, 2010, Hugo hfpmart...@gmail.com wrote:
Hello all,
I'm trying to create a vector layer based on a php query (which includes
the_geom) encoded in JSON. Until the moment i haven't been able to achieve
this.
Following, is the relevant part of the code:
var connect = new
Thanks a lot for all the inputs you have given.
In fact with GeoJSON everything goes smoothly.
Cheers,
Hugo
On Mon, Mar 8, 2010 at 7:20 PM, Eric Lemoine eric.lemo...@camptocamp.comwrote:
On Saturday, March 6, 2010, Hugo hfpmart...@gmail.com wrote:
Hello all,
I'm trying to create a vector
Hrmmthis is starting to stump me. I had a difficult time with the last
WFS layer I setup. Here's my working code: http://pastebin.com/dVRAsi5C
I'd try looking at your featureNS and adding a geometryName.
HTH,
Brian
___
Users mailing list
OK, to partially answer some of my own questions ... inline below.
Stephen Woodbridge wrote:
Hi all,
I am trying to implement a vector layer that will allow editing point
data. The data is accessed via a PHP script that serves some arbitrary
XML. The layer looks like this so far:
Hi,
I think the best way to do this is by performing the reprojection
client-side (if I lead you otherwise it wasn't my intention - sorry). Just
config the layer at Geoserver with its native EPSG without any
modifications. This way you should get the layer with no problems at the
demo page.
Then
Hi everyone.
I'm working on the code from the example at
http://openlayers.org/dev/examples/sundials-spherical-mercator.html
I'd really like the OpenLayers.Layer.Vector to read the KML file directly
from the disk, not via HTTP, because both the file and the page reside on my
own PC.
Anyone
Ju wrote:
Hi everyone.
I'm working on the code from the example at
http://openlayers.org/dev/examples/sundials-spherical-mercator.html
I'd really like the OpenLayers.Layer.Vector to read the KML file directly
from the disk, not via HTTP, because both the file and the page reside on my
Perhaps there is something wrong with the way you declare your style for
your layer.
The below code works on WFS layer. ADMIN_NAME is an attribute of the wfs.
var styleMapLabelDS;
function set_styleMapLabelDS()
{
var template = {
strokeColor: #FF,
strokeOpacity: 1,
25 matches
Mail list logo