geonode.services.utils ====================== .. py:module:: geonode.services.utils Attributes ---------- .. autoapisummary:: geonode.services.utils.logger Functions --------- .. autoapisummary:: geonode.services.utils.flip_coordinates geonode.services.utils.format_float geonode.services.utils.bbox2wktpolygon geonode.services.utils.inverse_mercator geonode.services.utils.mercator_to_llbbox geonode.services.utils.get_esri_service_name geonode.services.utils.get_esri_extent geonode.services.utils.decimal_encode geonode.services.utils.test_resource_table_status geonode.services.utils.parse_services_types Module Contents --------------- .. py:data:: logger .. py:function:: flip_coordinates(c1, c2) .. py:function:: format_float(value) .. py:function:: bbox2wktpolygon(bbox) Return OGC WKT Polygon of a simple bbox list of strings .. py:function:: inverse_mercator(xy) Given coordinates in spherical mercator, return a lon,lat tuple. .. py:function:: mercator_to_llbbox(bbox) .. py:function:: get_esri_service_name(url) A method to get a service name from an esri endpoint. For example: http://example.com/arcgis/rest/services/myservice/mylayer/MapServer/?f=json Will return: myservice/mylayer .. py:function:: get_esri_extent(esriobj) Get the extent of an ESRI resource .. py:function:: decimal_encode(bbox) .. py:function:: test_resource_table_status(test_cls, table, is_row_filtered) .. py:function:: parse_services_types()