Mapping, GIS and Geolocating data in Java Using open source software Joachim Van der Auwera  /  Geosparc nv
AGENDA GIS basics
Data and data formats
Database options
Java libraries
Java servers and frameworks
GIS basics Maps, layers, tiles and features Geometries
Spatial operations and queries
Projections and Coordinate Reference Systems Location?
Layers Handling complexity
Data is split
Overlays
Transparency
Tiles Handling size
Data is split
Stitched together at joins
Fixed size
WMTS
Eases cacheability
Features Represents a real-world phenomenon
Has geometry, linking to location on earth
Has attributes, e.g. “maximum depth” for a lake
Geometry Point, multi-
Linestring, multi-
Linear ring, multi-
Polygon, multi- Usually only one type per layer Constraints on allowed shapes
Spatial queries Distance, buffers, joins, intersections
CQL, ECQL
Coordinate Reference Systems Coordinate notation
Spherical or ellipsoid approximation Which ellipsoid Origin: (Meridian, Greenwich)?
Unit: degrees, meters,...
Influence of time
WGS84 : global, used by GPS (lat,lon) or (lon,lat) Many local variants
Projections The world is not flat
But a screen/paper is
Approximate using a sphere
Approximate using an ellipsoid
Some options Cylindrical
Start from a point (azimuthal)
Conical
Projections, always a compromise Conformal
Equal-area
Equidistant
e.g Mercator
Winkel Tripel
Lambert cyl
Equirectangular
Sinusoidal
Molleweide
Waterman to the rescue?
Coordinate Reference Systems EPSG database http://www.epsg-registry.org/ EPSG:4326 is WGS84 EPSG:3857 is Mercator
Google Mercator (originally 900913, then 3785, now gone?) Duplicates EPSG:4326 (lat-lon or lon-lat) urn:x-ogc:def:crs:EPSG:6.11.2:4326
WG:84
CRS, SRS, SRID Coordinate Reference System (CRS)
often expressed as Well Known Text (WKT)
SRS, Spatial Reference Code EPSG:54019 SRID, Spatial Reference ID 54019
Depends on authority!
Usually EPSG
Projecting raster images? Aereal images need corrections
Image affected by Height of camera
Projection + location (e.g. Mercator!)

Java Tech & Tools | Mapping, GIS and Geolocating Data in Java | Joachim Van der Auwera