The "transform" web service transforms points from one CRS to another.
A typical URL is: http://myserver.mycompany.com:8080/INTGeoServer/json/transform?json={"from":"32120","to":"32020","xValues":[599968.518,698953.822],"yValues":[223116.454,314328.357]}
The following parameters are available:
from: the source EPSG code. This is a required parameter.
to: the target EPSG code. This is a required parameter.
xValues: the list of all x values that need to be transformed. This is a required parameter. The number of x values must match the number of y values.
yValues: the list of all y values that need to be transformed. This is a required parameter. The number of y values must match the number of x values.
The following optional values are used to better define your area of use. If, for instance, you are drawing multiple shapes. You may want to define a larger area of use which contains all shapes. If you were to do each shape individually, the areas would be more accurate for each shape, however they might not have the same margin of error, thus introducing even larger error when combined.
areaTop: is an optional string entry which defines the North border of the area of use.
areaLeft: is an optional string entry which defines the West border of the area of use.
areaBottom: is an optional string entry which defines the South border of the area of use.
areaRight: is an optional string entry which defines the East border of the area of use.
{
"xValues":[
1999999.9992065346,
2324743.450485299
],
"yValues":[
731999.9984184832,
1031260.2118265239
]
}
The xValues entry is the list of all transformed x values.
The yValues entry is the list of all transformed y values.