span8
span4
span8
span4
Run it Live|Download|Fork on GitHub
To create a service to perform this task,you need to create a workspace using FME Desktop and then publish it to FME Server.The workspace accepts a latitude,longitude and output coordinate system,it converts the point and returns it as WKT.Once published to FME Server,you can interact with the workspace via the FME Server REST API.
The demo allows the user to click on the map,a request is sent back to FME Server passing the X,Y coordinates and required coordinate system.FME Server reprojects the point and returns the geometry to the browser as GeoJSON.
To investigate how this is done view the source of the demo page.
Streaming GeoJSON with FME Server
Fun With Flags - Streaming JSON
EasyGeocoder - Data Driven Self-Serve Data Transformation
403 Forbidden Error When Making FME Server Request
Creating REST Web Services: 4.First an RPC Web Service (2015)
Streaming GeoJSON with FME Server (2015)
Creating REST Web Services: 6.Supporting HTTP POST (2015)
Tutorial: Custom Data Delivery using FME Server
© 2019 亚搏在线Safe Software Inc |法律