On 28.03.2017 13:05, Giuseppe Aruta wrote: > Ede, > CadTools: we made the right corrections on the toolset but we didin't add a > new Cadtools version to OJ NB. > I give a look and make some test and add the new version today
right, just thought about that yesterday, but it slipped my mind. getting old :)) >>what i mean is to move code reading .proj files or read geotiff info into the >>loading code for layers > please check org.openjump.core.ui.io.file.DataSourceFileLayerLoader - line > 231. > Michael and I worked on this possibility since first test. The problem comes > when user should check if SRID is related to loading file or if it has been > changed once using Layer>Set SRID (Style) plugin. I added on the first > version a way to compare file srid with style srid: if they were the same so > no changes was done on SRIDStyle. interesting point. will check. > But, as you mantioned on a previous mail, it might be wierd to a) read proj > layer to store into SRIDStyle on loading file b) re-read proj layer to check > if SRIDStyle was changed. I am thinking a check on ChangeSRIDPlugIn to unable > plugin except it is transformed using Michael reprojection plugin. > Another idea is to let ChangeSRIDPlugIn capability only into Michael > reprojection plugin (withan option to set SRID instead to reproject) the projection might be wrongly assigned for whatever reason, so the general possibility to simply assign another one seems to be favourable. a warning though, if it differs from the underlying datasource alerting the user to this fact should be sufficient to prevent mistakes. ..ede > > Peppe > > 2017-03-28 12:16 GMT+02:00 <edgar.sol...@web.de <mailto:edgar.sol...@web.de>>: > > On 28.03.2017 07:17, Giuseppe Aruta wrote: > >> i had a look and saw that > NewLayerPropertiesPlugIn$InfoPanel.setInfoProjection() tries to determine the > projection, which is wrong! instead it should rely on the (if) set SRIDStyle > and read that. > > > > I corrected that Ede. That was easy as we already have the code. Now > SRIDStyle should be read on loading file (at least with Layer.class, vector > or image readers). > > not really. what i mean is to move code reading .proj files or read > geotiff info into the loading code for layers. currently your plugin does > that, if only for informational purposes. > > > Let us wait for next real. to solve proj. source. > > ok, i will go ahead w/ the release as soon as i get the go from Mike. > ..ede > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > <mailto:Jump-pilot-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel> > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel