Feb 252015
 
  • Unable to view my local geoserver in that dropdown menu of Open Geosuite 4.5 Version?

    I’m using GeoExplorer(Web Map Client) in Open Geo Suite4.5 version. I use to upload the layers from my LocalGeoserver by clicking on Add Layers Button. But now i’m unable to view my local geoserver in that dropdown menu.

    How can I troubleshoot this problem?

  • Cannot access WMS.GetMap as anonymous

    version geoserver 2.6.2

    I have a problem with the WMS service

    to authenticate the service wms configure the following rule in ” List of access to services”

    wms.GetMap ROLE_AUTHENTICATED

    but the response this url

    http://localhost/geoserver/xxxx/wms?service=WMS&version=1.1.0&request=GetMap&layers=xxxx:clientes&styles=&bbox=…….&width=378&height=512&srs=EPSG:4326&format=application/openlayers

    is

    Estado HTTP 500 – Request processing failed; nested exception is org.springframework.security.authentication.InsufficientAuthenticationException: Cannot access WMS.GetMap as anonymous

    thanks for your help

  • How to update back to GeoServer/Oracle from OpenLayers

    I have followed the example to setup a WFS Transaction successfully:

    http://dev.openlayers.org/examples/wfs-protocol-transactions.html

    My environment is GeoServer 2.6.1/OpenLayers 2.12.1. I do get the 4 toolbar icons on the upper right hand corner. (draw, modify, delete, save). I used a layer that is connected to an oracle table in geoserver as the editable layer.

    Now, when I click on the “save” button, it does not add a record to that table. Of course, I was not expecting it to because it does not even know what key value I want to put in (as customerid) when it creates a new record with feature data; nor does it know which record to update the geometry for it its an existing key value (customerid). The editable layer I created based on the above link is:

    // Customers Editable VECTOR Layer
                var saveStrategy = new OpenLayers.Strategy.Save();
    
                customers = new OpenLayers.Layer.Vector("Customers", {
                    strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],
                    projection: new OpenLayers.Projection("EPSG:2236"),
                    protocol: new OpenLayers.Protocol.WFS({
                        version: "1.1.0",
                        srsName: "EPSG:2236",
                        url: "http://pc74535:8085/geoserver/sf/wfs",
                        featurePrefix: "sf",
                        featureType: "customers",
                        geometryName: "GEOMETRY"
                    })
                });
    

    The oracle table itself has the following fields:

    -customerId
    -geometry
    -date_updated
    

    My question is, how do I perform inserts through openlayers/geoserver/all the way to the oracle table. (To included key value and geometry, etc) I would like the above example to actually save the geometry back to a specific record in the table. I am not sure how to proceed on this.

  • getFeatureInfo is working only if line of polygon is clicked, does not work inside polygon

    I have issue with getFeatureInfo function. I can get features of polygon only if it is clicked on line (border) of polygon. By clicking on line, i get features of few polygons, and i want to click inside of polygon and get feature info of that polygon, nothing else.
    I’m using Openlayers 2.13 and GeoServer. Where can i fix this?

Digest powered by RSS Digest

 Posted by at 13:36
%d bloggers like this:
Close Bitnami banner
Bitnami