Errata corrige: ChangeSRIDPlugIIn do recognize a database srid!

2016-03-30 17:27 GMT+02:00 Giuseppe Aruta <giuseppe.ar...@gmail.com>:

> I found it.
>
> SRIDStyle sridStyle = (SRIDStyle) layers[0].getStyle(SRIDStyle.class);
>   final int oldSRID = sridStyle.getSRID();
>
> It was even easier I was thinking about. When loading a Database layer,
> srid is recorded as style and it is easly accessible.
> ChangeSRIDPlugIIn doesn't record this.
> Peppe
>
>
> 2016-03-30 15:32 GMT+02:00 Giuseppe Aruta <giuseppe.ar...@gmail.com>:
>
>> Hi all
>> My question is how I can read SRID from a geographic database, ex
>> spatialite, loaded into OJ workbench. I see that each database class has a
>> a getSRID(String datasetName, String colName) method called on dbase
>> metadata. I wonder how I can access to thois info from the layer
>> Thanks in advance
>> Peppe
>>
>>
>>
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to