Andrea, how do I add issues to the "sprint" Triage state? I could not find anything on issues themselves.
This is likely a more scalable approach than managing a Google Doc. Kind regards, Ben. On 16/12/16 22:42, Andrea Aime [Administrator] (JIRA) wrote: > > [ > https://osgeo-org.atlassian.net/browse/GEOT-5594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Andrea Aime [Administrator] updated GEOT-5594: > ---------------------------------------------- > Triage: sprint > Status: Open (was: Open) > >> AzimuthalEquidistant projection missing parameters >> -------------------------------------------------- >> >> Key: GEOT-5594 >> URL: https://osgeo-org.atlassian.net/browse/GEOT-5594 >> Project: GeoTools >> Issue Type: Bug >> Components: referencing >> Affects Versions: 17-beta >> Reporter: Gyorgy Tomcsanyi >> >> The class for the AzimuthalEquidistant projection is not reporting its >> parameters correctly. >> Example code: >> {code:java} >> CoordinateReferenceSystem crs = CRS.parseWKT("PROJCS[\"unnamed\", " >> + "GEOGCS[\"unnamed ellipse\", " >> + "DATUM[\"unknown\", >> SPHEROID[\"unnamed\",6370841.391468334,0]], " >> + "PRIMEM[\"Greenwich\",0], " >> + "UNIT[\"degree\",0.0174532925199433]], " >> + "PROJECTION[\"Azimuthal_Equidistant\"], " >> + "PARAMETER[\"latitude_of_center\",42.42], " >> + "PARAMETER[\"longitude_of_center\",16.16], " >> + "PARAMETER[\"false_easting\",0], " >> + "PARAMETER[\"false_northing\",0]," >> + "UNIT[\"metre\", 1, AUTHORITY[\"EPSG\",\"9001\"]]]"); >> System.out.println(crs.toWKT()); >> {code} >> Output: >> {noformat} >> PROJCS["unnamed", >> GEOGCS["unnamed ellipse", >> DATUM["unknown", >> SPHEROID["unnamed", 6370841.391468334, 0.0]], >> PRIMEM["Greenwich", 0.0], >> UNIT["degree", 0.017453292519943295], >> AXIS["Longitude", EAST], >> AXIS["Latitude", NORTH]], >> PROJECTION["Azimuthal_Equidistant"], >> PARAMETER["longitude_of_center", 0.0], >> PARAMETER["latitude_of_center", 0.0], >> PARAMETER["false_easting", 0.0], >> PARAMETER["false_northing", 0.0], >> UNIT["m", 1.0], >> AXIS["x", EAST], >> AXIS["y", NORTH]] >> {noformat} >> Parameters longitude_of_center and latitude_of_center show zeroes instead of >> the correct values. >> I am not very familiar with the code, but after some debugging I think >> adding the following function to the class >> org.geotools.referencing.operation.projection.AzimuthalEquidistant.Abstract >> should solve the issue. >> {code:java} >> @Override >> public ParameterValueGroup getParameterValues() { >> final ParameterValueGroup values = super.getParameterValues(); >> final Collection<GeneralParameterDescriptor> expected = >> getParameterDescriptors().descriptors(); >> set(expected, Provider.LATITUDE_OF_CENTRE, values, latitudeOfOrigin); >> set(expected, Provider.LONGITUDE_OF_CENTRE, values, centralMeridian); >> return values; >> } >> {code} > > > > -- > This message was sent by Atlassian JIRA > (v1000.621.4#100023) > -- Ben Caradoc-Davies <b...@transient.nz> Director Transient Software Limited <http://transient.nz/> New Zealand ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel