Q. Is our proprietary WMS source (e.g. aerial photography) in our public Weave site accessible by public users to exploit?
A. Technically speaking - yes. Users can decode the URLs, but the effort required to do this and gain access to data would be so huge as to make it not worth the effort. When a map is requested from the browser it uses Weave own internal message format to communicate with the server. This format is loosely based around the REST standard. To make it harder for people to gain access to the maps from outside Weave we have deliberately not used a well-known standard like WMS or ArcGIS Servers REST API. Weave client URLs do not have the layer name actually listed, instead it uses layer numbers. When translating the request at the server Weave will use the layer identifiers to call the appropriate layer matching that ID. To make things more secure the layer identifiers can change over time.
More Detail.....
The following is a typical URL call to Weave for map data:
Decoding the URL returns the following:{"core":{"entity":"prop_layer"}}&request.data={"map":{"layerids":[180,183,184,187,188,189,190],"extent":{"crs":"EPSG:28355","minx":333252.38612729765,"miny":5817770.593545006,"maxx":346097.61385022977,"maxy":5821423.7024559425},"scale":49844.88541844},"image":{"type":{"returnType":"MIMEDATA"},"display":{"size":{"width":974,"height":277}},"opacity":1}}
Note in the above how we do not have the layer name actually listed, instead we use layer numbers ("layerids":[180,183,184,187,188,189,190]). When translating the request at the server Weave will use the ids to call the appropriate layer matching that ID.
If a person was to try and gain access to the a raw image from Weave they would need to:
- Know the URL required to request the image from Weave
- Know the correct URL format to request a layer
- Know the correct layer ids for a particular layer (if the layer order is changed in the map engine the layer ids change)
- In order to get a seamless image at any location the person will have to issue multiple requests knowing how to stich up the images.
Like Weave, Google implements a way where they hide the resulting tiles from the user. It is possible to get these tiles however the work you would need to do to successfully complete would be far greater than simply paying a license.