Thanks for your work cleaning the code Michael. I appreciate it.
Landon
On Sun, Mar 27, 2016 at 7:28 AM, Edgar Soldin wrote:
> On 24.03.2016 13:55, Michaƫl Michaud wrote:
> > Thanks,
> > I also can undertake some changes with more confidence because I know I
> > can get
Errata corrige: ChangeSRIDPlugIIn do recognize a database srid!
2016-03-30 17:27 GMT+02:00 Giuseppe Aruta :
> I found it.
>
> SRIDStyle sridStyle = (SRIDStyle) layers[0].getStyle(SRIDStyle.class);
> final int oldSRID = sridStyle.getSRID();
>
> It was even easier I was
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
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