Hi,

I am using geoscript to reproject a layer in my geoserver.

I can use geoserver/catalog to access a layer's projection with no issue.

However, I can't change it. My code is like this:


var myPrj = Projection("EPSG:2008");
var myLayer = catalog.getVectorLayer("test:counties");
catalog.getVectorLayer("test:counties").projection = myPrj;
return {
     old: myLayer.projection,
     neo: myPrj,
     temp: myLayer.temporary
};


The code in the third line never works however wps doesn't tell me any 
error.

Do you know how can I fix this?

Thanks in advance,

Jinzhou


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to