+
+
+
+ pyams_gis.rpc.json package¶
+
+
+Module contents¶
+-
+
-
+
pyams_gis.rpc.json.
transformArea
(request, area, from_projection, to_projection)¶
+ Transform area given in source projection to another projection
++
++ + + +Parameters: +-
+
- area – area coordinates given as a mapping with ‘x1’, ‘y1’, ‘x2’, and ‘y2’ values +
- from_projection – source coordinates system given as SRID +
- to_projection – target coordinates system given as SRID +
+ +Returns: +mapping with new ‘area’ key containing transformed coordinates, and ‘projection’ +key containing SRID of result projection system
+
-
+
-
+
pyams_gis.rpc.json.
transformPoint
(request, point, from_projection, to_projection)¶
+ Transform point given in source projection to another projection
++
++ + + +Parameters: +-
+
- point – point coordinates given as a mapping with ‘longitude’ and ‘latitude’ values +
- from_projection – source coordinates system given as SRID +
- to_projection – target coordinates system given as SRID +
+ +Returns: +mapping with new ‘point’ key containing transformed coordinates, and ‘projection’ +key containing SRID of result projection system
+