public MultiPointTo toTransferObject ( MultiPoint input ) { MultiPointTo result = new MultiPointTo ( ) ; result . setCrs ( GeoJsonTo . createCrsTo ( "EPSG:" + input . getSRID ( ) ) ) ; result . setCoordinates ( getPoints ( input ) ) ; return result ; }
Converts a multipoint to its corresponding Transfer Object