Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

When using GeometryOperation.PROJ compilation issue #43

Open
fxprunayre opened this issue Jan 28, 2020 · 1 comment
Open

When using GeometryOperation.PROJ compilation issue #43

fxprunayre opened this issue Jan 28, 2020 · 1 comment

Comments

@fxprunayre
Copy link
Member

fxprunayre commented Jan 28, 2020

Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
	org.opengis.referencing.crs.CoordinateReferenceSystem cannot be resolved to a type
	org.opengis.referencing.crs.CoordinateReferenceSystem cannot be resolved to a type
	org.opengis.referencing.operation.MathTransform cannot be resolved to a type
	org.geotools.referencing.CRS cannot be resolved to a type
	org.geotools.referencing.CRS cannot be resolved to a type
	org.geotools.referencing.CRS cannot be resolved to a type

	at routines.GeometryOperation.PROJ(GeometryOperation.java:147)
	at test.scan_vector_0_1.scan_vector.sOGRInfoInput_2Process(scan_vector.java:19294)
	at test.scan_vector_0_1.scan_vector.tSetGlobalVar_1Process(scan_vector.java:4888)
	at test.scan_vector_0_1.scan_vector.sOGRInfoInput_1Process(scan_vector.java:4498)
	at test.scan_vector_0_1.scan_vector.tWarn_1Process(scan_vector.java:3429)
	at test.scan_vector_0_1.scan_vector.tLibraryLoad_1Process(scan_vector.java:3205)
	at test.scan_vector_0_1.scan_vector.tLibraryLoad_2Process(scan_vector.java:3008)
	at test.scan_vector_0_1.scan_vector.tLibraryLoad_3Process(scan_vector.java:2819)
	at test.scan_vector_0_1.scan_vector.runJobInTOS(scan_vector.java:33296)
	at test.scan_vector_0_1.scan_vector.main(scan_vector.java:32407)

Not sure why this is not resolved.

Using the sProj is a workaround for that issue.

In scan_vector, computeProperties,

image

set var1 and var2 to null solve the issue (those variables are not used).

image

fxprunayre added a commit that referenced this issue Jan 28, 2020
@fxprunayre
Copy link
Member Author

Issue fixed in https://github.com/talend-spatial/workspace-metadata-crawler/tree/7.x by not using the routine for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant