web viewprogramma microstation v8. programma oracle map builder. jdeveloper adf faces geomap...

Post on 30-Jan-2018

235 Views

Category:

Documents

7 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Grafisko datu vizualizācija

Ļoti daudzas firmas nodrošina darbu ar grafiskajiem datiem:

1) firma Oracle;

2) ESRI;

3) Intergraph;

4) Laser-Scan, MapInfo, Exor, Ionic un daudzas citas.

Vairumā sistēmu tiek izmantots firmas Oracle telpisku datu glabāšanas

modelis - Oracle Spatial. Vienas firmas nodrošina grafiskās datu bāzes

veidošanu, citas grafisko datu vizualizāciju un apstrādi.

1

Programmas iSMART Explorer

izmantošana

?!

?!

?!

2

Programma Spatial Console

Spatial Console is the ultimate tool for controlling data in an Oracle Spatial environment. The product enables users to import shapefiles into an Oracle Spatial database with control over metadata, database constraints, feature history, versioning and coordi nate rounding. Exporting from Oracle Spatial to several formats is also supported. The import and export facilities of Spatial Console can be conducted in batch mode via the command line if required.

Programma MicroStation v8

3

4

5

Programma Oracle MAP BUILDER

6

7

JDeveloper ADF Faces GeoMap komponente

8

9

10

11

DITF studenta veidota vizualizācijas sistēma

Programmā Spatial koordināšu sākuma punkts ir kreisais augšējais stūris, bet laboratorijas darbā par koordināšu sākuma punktu tika pieņemts kreisais apakšējais attēla stūris, tādēļ attēls ir vērojams spoguļskatā attiecībā pret X asi.

12

Ģeometrisko datu vizualizēšana ar rīku Spatial SQL (RTU)

Pēc noklusējuma, tas pieslēdzas Oracle datubāzei un iegūst slāņu datus, kurus definē iebūvētais pieprasījums („union all” uz visām tabulām).

Rīks satur:1) slāņu vizualizācijas paneli;2) SQL ievades paneli;3) apstiprināšanas pogu.

Rīks spēj attēlot tikai tos rezultātus, kuros vienā no kolonnām parādās „SDO_GEOMETRY” tips, ja pieprasījums nesatur minēto kolonnu rīks vizualizāciju neveic. Kolonnu skaits, ka arī kolonnu datu tipi nav svarīgi.

13

Rīks izstrādāts izmantojot Java programmēšanas valodu.

14

SQL Developer Map View

SQL Developer vidē ir iebūvēts skats Map View, ar kura palīdzību var pārbaudīt ģeometriskās datu bāzes pareizību. Saskarne šim skatam ir ļoti vienkārša. Tabulas ar ģeometrijām tiek ievietotas ar „drug&drop” palīdzību. Pēc tam var nokonfigurēt ģeometriju krāsas un definēt savus vaicājumus ar labas pēles nospiešanu pie attiecīgas tabulas.

Par galveno priekšrocību un iespēju šim Oracle View autors uzskata viegli

saprotamu interfeisu un funkcionalitātes izmantošanas vieglumu. Pirmā Kā bija

teikts iepriekš, tad Map View skats ļauj definēt ģeometriju krāsas. Izvelējoties

tabulu, tiek nospiesta laba peles poga un logā ar nosaukumu „Map Query” ir

iespējams definēt līnijas krāsu „Line color”, krāsu ģeometrijas aizpildīšanai „Fill

Color” attiecīgaja logā „Color Dialog”.

15

„Annotation Column” opcija piedāvā iespēju atspoguļot blakus ģeometrijai tabulas citas kolonas,

šajā gadījumā ID vai Nosaukums.

16

17

Otra priekšrocība šim SQL Developer 3.0 paplašinājuma Map View ir vaicājumu definēšana

caur lietotāja saskārni (GUI). Varam atķiksēt nepieciešamas tabulas un nospiežot pogu „refresh”

Map View atspoguļos izmainītos rezultatus. Parādīt slāņus CELI, VEIKALI un MAJAS ir ļoti

vienkārši:

18

Izmantojot logu „Map Query” varam definēt „where” daļu, respektīvi, atlasīt no tabulas tikai

nepieciešamas geometrijas:

Vaicājums visām ģeometrijām no MAJAS, VEIKALI tabulas un pirmajai no tabulas CELI

Pieturvietas

19

Ģeometrisko datu vizualizēšana izmantojot SQL Developer spraudni GeoRaptor

Lai vizualizētu datus,var izmantot SQL Developer paplašinājumu Oracle GeoRaptor. Šis rīks ir brīvi pieejams oficiālā mājas lapā, kur arī izvietotas pamācības rīka izmantošanai: (http://sourceforge.net/apps/mediawiki/georaptor/index.php?title=Main_Page). Vispirms ir jāinstalē SQL Developer. Pēc tā instalācijas, GeoRaptor instalējas kā papildus PlugIn.Spraudņa GeoRaptor priekšrocības:

1) tas ir integrēts SQL Developer;2) tas ir viegli izmantojams (izmantojot citus rīkus jāpatērē daudz

laika, lai saprast kas, kur un kā ir jādara lai kaut ko vizualizētu). Vizualizēt grafiskus datus izmantojot GeoRaptor ir viegli. Vispirms jāpievieno tabula grafiskam skatam.

Kad tabula, kopā ar ģeometrijas kolonu paradās grafiskā skatā, tā ir jānorāda un jānospiež poga „Zoom extent of all drawable layers”. Pēc tam, pa labi, paradīsies izvelētu tabulu ar ģeomētrijām attēlojums.

20

Lai attēlotu visus slāņus no datu bāzes, ir vienkarši jāatzīmē tos un jānospiež poga. Paradīsies visu slāņu attēlojums.

Paplašinājumam ir arī noderīga funkcija, ģeometriju apzīmēšanai. Lai iezīmētu kāda slāņa objektus, jāizvēlas šī slāņa „Properties”.

21

Izvēlnē „Labelling” ir iespēja izvelēties kolonu, no kuras tiks paņemtas vērtības objektuapzīmēšanai. Piemēram, EKAS_ID.

Tas padara vaicājumu rezultātu analīzi vieglāk uzskatāmu.

22

Ir arī iespējams aizkrāsot slāņa objektus ar kādu krāsu.

Var noradīt līniju platumu, krāsu u.c.

23

Izmantojot šīs iespējas ir iespējams izveidot realistiskāku un patikamāku slāņu attēlojumu.

Izmantojot GeoRaptor, ir viegli mainīt un ievadīt slāņu metadatus.

24

Ir iespējams atvieglot ģeometrisko indeksu izveidošanu un dzēšanu.

25

Izmantojot šo paplašinājumu ir arī iespējams atvieglot ģeometriju veidošanu.

Piemēram, veidojot riņķi, GeoRaptor automatiski kodē objektu, atbilstoši norādei.

26

Ir arī iespējams atvieglot vaicājumu veidošanu.

27

Vaicājumu rezultātu vizualizēšana ar GeoRaptor

Vispirms ir jāizveido skatu.

Norādot tajā vaicājumu, kuru mēs gribam vizualizēt.

Vispirm, ir jānorāda metadatus skatam.

28

Pēc tām, jāpievieno skatu GeoRaptor grafiskam skatam.

Vaicājuma rezultāts:

29

Oracle Spatial and Graph1

Oracle Spatial and Graph, often referred to as Spatial and Graph, includes advanced features for spatial data and analysis and for physical, logical, network, and social and semantic graph applications. The spatial features provide a schema and functions that facilitate the storage, retrieval, update, and query of collections of spatial features in an Oracle database. Spatial and Graph consists of the following:1) a schema MDSYS that prescribes the storage, syntax, and semantics of supported geometric data types;2) a spatial indexing mechanism;3) operators, functions, and procedures for performing area-of-interest queries, spatial join queries, and other spatial analysis operations;4) functions and procedures for utility and tuning operations;5) topology data model for working with data:

- from spatial geometries that will become topology features (using a topology built from spatial geometries);- about nodes, edges, and faces in a topology (using a topology built from

topology data). 6) network data model for representing capabilities or objects that are modeled as nodes and links (vertices and edges) in a graph (described in Oracle Spatial and Graph Topology Data Model and Network Data Model Graph Developer's Guide);7) GeoRaster, a feature that lets you store, index, query, analyze, and deliver GeoRaster data, that is, raster image and gridded data and its associated metadata (described in Oracle Spatial and Graph GeoRaster Developer's Guide);The spatial component of a spatial feature is the geometric representation of its shape in some coordinate space. This is referred to as its geometry.

1 https://docs.oracle.com/database/121/SPATL/sdo_intro.htm#SPATL441

30

Topology Geometries and Layers

A topology geometry (also referred to as a feature) is a spatial representation of a real world object. For example, Main Street and Walden State Park might be the names of topology geometries. The geometry is stored as a set of topological elements (nodes, edges, and faces), which are sometimes also referred to as primitives. Each topology geometry has a unique ID (assigned by Spatial and Graph when records are imported or loaded) associated with it.A topology geometry layer consists of topology geometries, usually of a specific topology geometry type, although it can be a collection of multiple types For example, Streets might be the topology geometry layer that includes the Main Street topology geometry, and State Parks might be the topology geometry layer that includes the Walden State Park topology geometry. Each topology geometry layer has a unique ID (assigned by Spatial and Graph) associated with it. The data for each topology geometry layer is stored in a feature table. For example, a feature table named CITY_STREETS might contain information about all topology geometries (individual roads or streets) in the Streets topology geometry layer.Each topology geometry (feature) is defined as an object of type SDO_TOPO_GEOMETRY, which identifies the topology geometry type, topology geometry ID, topology geometry layer ID, and topology ID for the topology.Topology metadata is automatically maintained by Spatial and Graph in the USER_SDO_TOPO_METADATA and ALL_SDO_TOPO_METADATA views. The USER_SDO_TOPO_INFO and ALL_SDO_TOPO_INFO views contain a subset of this topology metadata.

31

Features in topology

The following kinds of features in the topology:1) point features (traffic signs), shown as dark circles: S1, S2, S3, and S42) linear features (roads or streets), shown as dashed lines: R1, R2, R3, and R43) area features (land parcels), shown as rectangles: P1, P2, P3, P4, and P5

Land parcel P5 does not include the shaded area within its area.

32

Network modelingThe network model contains logical information such as connectivity relationships among nodes and links, directions of links, and costs of nodes and links. With logical network information, you can analyze a network and answer questions, many of them related to path computing and tracing. For example, for a biochemical pathway, you can find all possible reaction paths between two chemical compounds; or for a road network, you can find the following information:

1) what is the shortest (distance) or fastest (travel time) path between two cities?2) what is the closest hotel to a specific airport, and how can I get there?

In addition to logical network information, spatial information such as node locations and link geometries can be associated with the network. This information can help you to model the logical information (such as the cost of a route, because its physical length can be directly computed from its spatial representation).The generic data model and network analysis capability can model and analyze many kinds of network applications in addition to traditional geographical information systems (GIS).

33

Oracle Fusion Middleware Mapviewer (MapViewer)2

Oracle Fusion Middleware Mapviewer (MapViewer) is a programmable tool for rendering maps using spatial data managed by Oracle Spatial and Graph or Oracle Locator (also referred to as Locator).

2 https://docs.oracle.com/middleware/1213/core/JIMPV/vis_start.htm#JIMPV9460

34

SQL Developer with Mapviewe component

35

36

37

SQL Developer paplašinājums GeoRaptor

GIS extension for Oracle SQL Developer: GeoRaptor project extends Oracle SQL Developer with additional functionality that is needed by database administrators of Oracle Spatial data, ESRI ArcSDE administrators or advanced GIS user.

38

top related