Giter Site home page Giter Site logo

dp-klemsa-2020's Introduction

Master Thesis

Title

Polygonization of LineString Spaghetti Data

Description

The basis for the missing persons search are appropriate map data. The large space is divided by linestring into sectors in which the search itself takes place. This work deals with the creation of polygons (sectors) from a set of linestring (so-called polygonization). In the first part of the work, a search of algorithms and currently available conventional tools is done. Subsequently, a polygonization tool is implemented using the Java Topology Suite library.

Student

Bc. Tomáš Klemsa

Supervisor

Ing. Martin Landa, Ph.D.

Reader

Ing. Jan Růžička, Ph.D.

Defence

June 2020

Text

PDF

dp-klemsa-2020's People

Contributors

klemsic avatar landam avatar

Watchers

James Cloos avatar  avatar

dp-klemsa-2020's Issues

NoClassDefFoundError: org/geotools/referencing/CRS

Proč nastává Runtime error java.lang.NoClassDefFoundError: org/geotools/referencing/CRS at Hello.main(Hello.java:8)?
V ClassPath by všechny potřebné knihovny měli být.
RuntimeError.zip

Pokud udělám projekt v eclipse a přidám do classpath celou knihovnu GeoTools dostanu chybovou hlášku:

Apr 23, 2020 2:51:13 PM org.geotools.util.factory.FactoryRegistry scanForPlugins
WARNING: Can't load a service for category "CRSAuthorityFactory". Cause is "ServiceConfigurationError: org.opengis.referencing.crs.CRSAuthorityFactory: Provider org.geotools.referencing.factory.epsg.CartesianAuthorityFactory could not be instantiated".
java.util.ServiceConfigurationError: org.opengis.referencing.crs.CRSAuthorityFactory: Provider org.geotools.referencing.factory.epsg.CartesianAuthorityFactory could not be instantiated
	at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:583)
	at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:805)
	at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:723)
	at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1395)
	at org.geotools.util.factory.FactoryRegistry.register(FactoryRegistry.java:953)
	at org.geotools.util.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:859)
	at org.geotools.util.factory.FactoryRegistry.scanForPluginsIfNeeded(FactoryRegistry.java:889)
	at org.geotools.util.factory.FactoryRegistry.getFactories(FactoryRegistry.java:251)
	at org.geotools.referencing.ReferencingFactoryFinder.getFactories(ReferencingFactoryFinder.java:183)
	at org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactories(ReferencingFactoryFinder.java:453)
	at org.geotools.referencing.DefaultAuthorityFactory.getBackingFactory(DefaultAuthorityFactory.java:87)
	at org.geotools.referencing.DefaultAuthorityFactory.<init>(DefaultAuthorityFactory.java:67)
	at org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:239)
	at org.geotools.referencing.CRS.decode(CRS.java:517)
	at org.geotools.referencing.CRS.decode(CRS.java:433)
	at Hello.main(Hello.java:8)
Caused by: java.lang.NoClassDefFoundError: javax/measure/UnconvertibleException
	at org.geotools.referencing.crs.DefaultEngineeringCRS.<clinit>(DefaultEngineeringCRS.java:78)
	at org.geotools.referencing.factory.epsg.CartesianAuthorityFactory.<clinit>(CartesianAuthorityFactory.java:54)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
	at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:781)
	... 14 more
Caused by: java.lang.ClassNotFoundException: javax.measure.UnconvertibleException
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 22 more

Exception in thread "main" java.lang.NoClassDefFoundError: javax/measure/Unit
	at org.geotools.referencing.factory.epsg.DirectEpsgFactory.<clinit>(DirectEpsgFactory.java:311)
	at org.geotools.referencing.epsg.postgresql.ThreadedPostgreSQLEpsgFactory.createBackingStore(ThreadedPostgreSQLEpsgFactory.java:200)
	at org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore0(ThreadedEpsgFactory.java:395)
	at org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:436)
	at org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:114)
	at org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(BufferedAuthorityFactory.java:218)
	at org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(DeferredAuthorityFactory.java:100)
	at org.geotools.util.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:747)
	at org.geotools.util.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:570)
	at org.geotools.util.factory.FactoryRegistry.lambda$getFactories$0(FactoryRegistry.java:253)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176)
	at java.base/java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
	at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:294)
	at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206)
	at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:161)
	at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300)
	at java.base/java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
	at org.geotools.util.LazySet.isEmpty(LazySet.java:98)
	at org.geotools.referencing.factory.ManyAuthoritiesFactory.<init>(ManyAuthoritiesFactory.java:115)
	at org.geotools.referencing.DefaultAuthorityFactory.getBackingFactory(DefaultAuthorityFactory.java:114)
	at org.geotools.referencing.DefaultAuthorityFactory.<init>(DefaultAuthorityFactory.java:67)
	at org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:239)
	at org.geotools.referencing.CRS.decode(CRS.java:517)
	at org.geotools.referencing.CRS.decode(CRS.java:433)
	at Hello.main(Hello.java:8)
Caused by: java.lang.ClassNotFoundException: javax.measure.Unit
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 25 more

Gradle build error

Při použití gradle pro build nastává error při stahování jai_core-1.1.3.jar Jelikož gradle hledá v repozitáři JCenter. Proč nehledá i v mnou zadaném repozitáři https://repo.osgeo.org/repository/release/... kde se *.jar nachází?

build.gradle.txt

Error:

[tomasklemsa@dell Gradle]$ ./gradlew build
> Task :startScripts FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':startScripts'.
> Could not resolve all files for configuration ':runtimeClasspath'.
   > Could not find jai_core-1.1.3.jar (javax.media:jai_core:1.1.3).
     Searched in the following locations:
         https://jcenter.bintray.com/javax/media/jai_core/1.1.3/jai_core-1.1.3.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s
2 actionable tasks: 1 executed, 1 up-to-date

First draft of app

Functionality:

  1. load data
  2. add intersections
  3. polygonize initialization (remove dangles)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.