Book Image

GeoServer Cookbook

By : Stefano Iacovella
Book Image

GeoServer Cookbook

By: Stefano Iacovella

Overview of this book

Table of Contents (17 chapters)
GeoServer Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Using the reprojection console


In the previous recipe, you learned that many CRS exist and data can be converted from one form to another.

In some cases, CRS, even if they are different, are really very similar. So, for general mapping purposes, you can consider them identical.

In this recipe, you'll discover a simple, yet very useful, tool that ships with GeoServer: the reprojection console. It lets you have a look at how coordinates change when you move data from an SRS to another one.

How to do it…

  1. From the GeoServer Web admin interface, select the Demos link on the left panel.

  2. From the list, select Reprojection console. A new interface is displayed.

  3. Insert EPSG:4326 in Source CRS and EPSG:4269 in Target CRS. Then, insert POINT(-98.5795 39.828175) in Geometry of Source CRS. Click on the Forward Transformation link; GeoServer calculates the new coordinates for you and fills the Geometry of Target CRS textbox.

    Note

    You may be wondering how I chose the coordinates; well, they were not randomly selected...