[OpenLayers-Users] <ows:Exception exceptionCode="InvalidParameterValue">

giraam sdjbm17 at gmail.com
Tue Jun 8 11:37:48 EDT 2010


OK... yesterday I read a loooot about projection and now I understand the
idea but still can NOT solve the problem :S

I feel a bit ashamed but as I am a GIS novice, I'll bother you back <:)

This is how my map is instantiated:


    var options = {
        minExtent: new OpenLayers.Bounds(-1, -1, 1, 1),
        maxResolution: 0.0615976562500009,
        maxZoomLevel: 10,
        //units: "meters",
        maxExtent: new OpenLayers.Bounds(432.327,7176.526,492.978,7217.519),
        projection: "EPSG:4326"
    };
    map = new OpenLayers.Map('olmap', options);

Then I have to more WMS layers (not problem) and my WFS layer like this (THE
problem):


     pdv = new OpenLayers.Layer.Vector("Puntos de Venta", {
        strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],
        projection: new OpenLayers.Projection("EPSG:4326"),
       // displayProjection: new OpenLayers.Projection("EPSG:4326"),
        styleMap: myStyles,
        protocol: new OpenLayers.Protocol.WFS({
            maxFeatures: 1000,
            version: "1.1.0",
            srsName: "EPSG:4326",
            url: "http://192.168.11.22:8080/geoserver/wfs",
            featureType: "pdv_new",
	    outputFormat: "json",
            readFormat: new OpenLayers.Format.GeoJSON(),
            schema:
"http://192.168.11.22:8080/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=GestionComercial:pdv_new",
            featureNS: "http://192.168.11.22:8080/geoserver/wfs",
	    featurePrefix: "GestionComercial"
        })
    });
    map.addLayer(pdv);


What am I doing bad here?

-----
just another web developer
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/ows-Exception-exceptionCode-InvalidParameterValue-tp5149142p5154224.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list