<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ramu Murakami Gutierrez on Medium]]></title>
        <description><![CDATA[Stories by Ramu Murakami Gutierrez on Medium]]></description>
        <link>https://medium.com/@ramumurakamig?source=rss-b846cd4fb587------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*alyEHBCZ12_aaXuQWzQ7Pg@2x.jpeg</url>
            <title>Stories by Ramu Murakami Gutierrez on Medium</title>
            <link>https://medium.com/@ramumurakamig?source=rss-b846cd4fb587------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 05:49:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ramumurakamig/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Visualiza Grafos en SQL Developer para VS Code]]></title>
            <link>https://medium.com/oracledevs/visualiza-grafos-en-sql-developer-para-vs-code-2434d248c4ce?source=rss-b846cd4fb587------2</link>
            <guid isPermaLink="false">https://medium.com/p/2434d248c4ce</guid>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[base-de-datos]]></category>
            <category><![CDATA[sql-developer]]></category>
            <category><![CDATA[oracle-graph]]></category>
            <dc:creator><![CDATA[Ramu Murakami Gutierrez]]></dc:creator>
            <pubDate>Wed, 27 May 2026 17:39:42 GMT</pubDate>
            <atom:updated>2026-05-27T17:39:42.122Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*V0ZU6UeDAP-zLXn_.png" /></figure><p>¿Sabías que puedes visualizar tus <strong>SQL Property Graphs directamente desde Oracle SQL Developer con la extensión para </strong><a href="https://www.oracle.com/database/sqldeveloper/vscode/"><strong>Visual Studio Code</strong></a><strong>?</strong></p><p><strong>Oracle SQL Developer</strong> es un entorno de desarrollo integrado (IDE) gratuito que simplifica el desarrollo y la administración de Oracle Database. Puedes elegir la interfaz de SQL Developer que mejor se adapte a tu flujo de trabajo, ya sea la aplicación de escritorio, un navegador web al trabajar con Autonomous Database (llamado “Database Actions”), la línea de comandos (llamada “SQLcl”) o Visual Studio Code mediante una extensión.</p><p>Anteriormente, ya había explicado cómo ejecutar consultas de <a href="https://medium.com/oracledevs/guia-rapida-para-usar-oracle-graph-con-sql-developer-4001f067f34b">grafos SQL con SQL Developer Desktop</a>, las cuales también puedes utilizar en la extensión de SQL Developer para VS Code. Además, SQL Developer para VS Code incluye la capacidad de visualizar grafos mediante la extensión <strong>Graph Visualization</strong>, permitiéndote explorar tus grafos directamente desde el entorno de desarrollo.</p><h4>Así es como funciona en 5 sencillos pasos:</h4><blockquote>Los siguientes pasos asumen que ya cuentas con un usuario de base de datos con los permisos necesarios para ejecutar consultas de grafos y con un grafo creado en Oracle Database 23ai. Si no estás familiarizado con estos requisitos, puedes seguir esta <a href="https://medium.com/oracledevs/guia-rapida-para-usar-oracle-graph-con-sql-developer-4001f067f34b">publicación del blog</a>, que también incluye acceso al conjunto de datos de ejemplo utilizado para la visualización en este blog.</blockquote><p>Paso 1 — Instala la <a href="https://marketplace.visualstudio.com/items?itemName=Oracle.sql-developer">extensión Oracle SQL Developer</a> para VS Code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/0*1C5Il5GufE-Z0H2H.png" /><figcaption>Visualización de Grafos de Oracle SQL Developer para VS Code</figcaption></figure><p>Paso 2 — Instala la <a href="https://marketplace.visualstudio.com/items?itemName=Oracle.sql-developer-graph-visualization">extensión Graph Visualization</a> para VS Code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/0*MlhpOkQCiD82Jo6e.png" /><figcaption>Extensión de visualización de grafos de Oracle SQL Developer para VS Code</figcaption></figure><p>Paso 3 — Crea una conexión a tu instancia de Oracle Database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mAIfvg_kZtnbvchJ.png" /><figcaption>Crear una conexión a la base de datos en SQL Developer para VS Code.</figcaption></figure><p>Paso 4 — Abre una hoja de trabajo SQL (SQL Worksheet).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/0*aUULeLoGi8HZVNS3.png" /><figcaption>Haz clic derecho sobre la nueva conexión para abrir una nueva hoja de trabajo SQL (SQL Worksheet).</figcaption></figure><p>Paso 5 — Visualiza tu grafo utilizando el botón “Visualize SQL Graph” para ejecutar consultas SQL de grafos.</p><blockquote><strong>Nota:</strong> Las consultas SQL de grafos requieren el uso de las funciones vertex_id() y edge_id() en la cláusula COLUMNS para que los resultados puedan visualizarse.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q74w6ySs7HKkv6an.png" /><figcaption>Este grafo resalta las transferencias circulares que tanto se originan como terminan en la cuenta de Russell Rivera, al mismo tiempo que destaca las cuentas con balances superiores a $150,000 y las transferencias mayores a $9,000.</figcaption></figure><h3>¿Qué funciones de visualización de grafos están disponibles?</h3><p>Si ya has utilizado <a href="https://medium.com/oracledevs/visualizing-graphs-in-oracle-graph-6159c8ce2491">Graph Visualization</a> anteriormente, notarás varias funciones familiares. Estas incluyen las herramientas en la ventana de Graph Visualization que te permiten manipular tu grafo con opciones como <em>ajustar a pantalla (“fit to screen”), modo sticky, agrupación (“grouping”)</em> y más. También puedes agregar etiquetas y resaltados para obtener información más detallada mediante el menú de configuración, ubicado a la derecha de la pestaña Graph Visualization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q0TImHCEmIK0lRO2.png" /><figcaption>Configuración de visualización.</figcaption></figure><p>Además, puedes hacer clic derecho sobre cualquier vértice o arista para ver sus propiedades.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PZRw-uUBCRYQGuQ0.png" /><figcaption>Este grafo muestra las propiedades de la cuenta 135.</figcaption></figure><p>¡Espero que estés tan emocionado como yo por todo lo que puedes hacer directamente desde VS Code!</p><p><a href="https://medium.com/tag/oracle-graph">Medium</a> (= todos los artículos con la etiqueta Oracle Graph)<br><a href="https://stackoverflow.com/questions/tagged/oracle-graph">Stack Overflow</a> (= preguntas con la etiqueta oracle-graph)<br><a href="https://join.slack.com/t/andouc/shared_invite/zt-2tjbk58ib-MLbTwXInp80nQQuX6BtL_Q">Slack AnDOUC</a> (= enlace de invitación, por favor visita #graph)<br><a href="https://join.slack.com/t/oracledevrel/shared_invite/zt-uffjmwh3-ksmv2ii9YxSkc6IpbokL1g">Slack OracleDevRel</a> (= enlace de invitación, por favor visita #oracle-db-graph)<br><a href="https://www.youtube.com/channel/UCZqBavfLlCuS0il6zNY696w">Youtube Channel</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2434d248c4ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oracledevs/visualiza-grafos-en-sql-developer-para-vs-code-2434d248c4ce">Visualiza Grafos en SQL Developer para VS Code</a> was originally published in <a href="https://medium.com/oracledevs">Oracle Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Capacidades de Enrutamiento Espacial de Oracle en Oracle Autonomous Database]]></title>
            <link>https://medium.com/oracledevs/capacidades-de-enrutamiento-espacial-de-oracle-en-oracle-autonomous-database-59a75eb41897?source=rss-b846cd4fb587------2</link>
            <guid isPermaLink="false">https://medium.com/p/59a75eb41897</guid>
            <category><![CDATA[spatial]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[oracle-spatial]]></category>
            <category><![CDATA[geocodificacion]]></category>
            <category><![CDATA[enrutamiento]]></category>
            <dc:creator><![CDATA[Ramu Murakami Gutierrez]]></dc:creator>
            <pubDate>Wed, 27 May 2026 16:55:10 GMT</pubDate>
            <atom:updated>2026-05-27T16:57:53.885Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dp8SrChOWRCnc91c4E1KTg.png" /></figure><p>En mi blog anterior, hablamos sobre la <a href="https://medium.com/oracledevs/geocodificaci%C3%B3n-con-oracle-spatial-para-principiantes-a7e774c1a649">geocodificación</a> y por qué es importante. En este blog, iremos un paso más allá explorando el enrutamiento y las diferentes funciones de geocodificación disponibles para ayudarte a ir del punto A al punto B. Estas funciones utilizan la red vial, lo que significa que reflejan rutas reales de conducción y no solo distancias en línea recta. El enrutamiento es esencial para las empresas que buscan planificar rutas más eficientes y prácticas para entregas, servicios o logística.</p><p>¿Alguna vez te has preguntado cómo las aplicaciones pueden calcular la ruta más eficiente dependiendo de la distancia, el tráfico o el tiempo de viaje? Para comprender cada función, utilizaremos como ejemplo un caso de uso de un servicio de entregas.</p><blockquote>Recuerda: Esta funcionalidad está disponible en <strong>Autonomous Database (tanto Serverless como Dedicated)</strong> mediante una API PL/SQL.</blockquote><p>Para ejecutar todas estas funciones de geocodificación y enrutamiento, necesitas otorgar acceso al usuario. Para hacerlo, ejecuta la siguiente consulta:</p><pre>EXEC SDO_GCDR.ELOC_GRANT_ACCESS(&#39;&lt;user&gt;&#39;);</pre><p>Estaré utilizando Oracle Database 26ai para ejecutar las siguientes funciones, por lo que no necesitaré incluir FROM DUAL en las consultas.</p><p>La mayoría de las funciones cubiertas en este blog devuelven resultados como objetos SDO_GEOMETRY, un tipo de dato utilizado en Oracle para representar objetos espaciales como puntos, líneas y polígonos. Para visualizar rápidamente estos resultados en <a href="https://geojson.io/next/">geojson.io</a>, utilicé el paquete utilitario <a href="https://docs.oracle.com/en/database/oracle/oracle-database/26/spatl/sdo_util-to_geojson.html">SDO_UTIL.TO_GEOJSON</a> para devolver los resultados en formato GeoJSON.</p><p>Aquí tienes un ejemplo de cómo se aplica esta utilidad:</p><pre>SELECT SDO_UTIL.TO_GEOJSON(<br>    SDO_GCDR.ELOC_DRIVE_DISTANCE_POLYGON(<br>    &#39;2300 Oracle Way, Austin, TX 78741&#39;, &#39;US&#39;, 10, &#39;mile&#39;, &#39;truck&#39;)<br>);</pre><p>¡Comencemos!</p><h3>SDO_GCDR.ELOC_DRIVE_DISTANCE_POLYGON</h3><p>Esta función genera un polígono que representa todas las áreas accesibles dentro de una <strong><em>distancia específica</em></strong> de conducción desde una ubicación determinada. Por ejemplo, puedes utilizarla para <strong>identificar áreas a las que se puede llegar dentro de 10 millas desde el almacén</strong>, lo cual es perfecto para crear zonas de entrega.</p><pre>SELECT SDO_GCDR.ELOC_DRIVE_DISTANCE_POLYGON(<br>  &#39;2300 Oracle Way, Austin, TX 78741&#39;, -- dirección inicial / puede reemplazarse con la longitud<br>  &#39;US&#39;, -- código de país ISO de 2 caracteres / puede reemplazarse con la latitud<br>  10, -- distancia<br>  &#39;mile&#39;, -- puede ser mile/kilometer/km/meter<br>  &#39;truck&#39; -- tipo de vehículo: auto/truck<br>);<br><br>----------------------------------------------------------------------------<br>RESULT<br>MDSYS.SDO_GEOMETRY(2003, 4326, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 1), MDSYS.SDO_ORDINATE_ARRAY(-122.5051100001, 37.8621300001, -122.5048400001, 37.8619300001, -122.5184900003, 37.8329800001, -122.5150200003, 37.8308900001, -122.5122200003, 37.8317500001, -122.4949700002, 37.8323400001, -122.4783100001, 37.81792, -122.4782400001, 37.81732, -122.4775800001, 37.81101, -122.4774300001, 37.80971, -122.4774000001, 37.80953, -122.4781600001, 37.80034, -122.4783000001, 37.79996, -122.4831300002, 37.79316, -122.4993900003, 37.78635, -122.4994600003, 37.78631, -122.5099800003, 37.78326, -122.5109700004, 37.783, -122.5113000004, 37.78272, -122.5135800004, 37.77884, -122.5136200004, 37.77854, -122.5113500004, 37.77288, -122.5111600004, 37.77138, -122.5111500004, 37.77129, -122.5110400004, 37.77048, -122.5110200004, 37.77034, -122.5109600004, 37.76993, -122.5109200004, 37.7696, -122.5108200004, 37.76766, -122.5104600003, 37.76416, -122.5104400003, 37.7639, -122.5103900003, 37.76359, -122.5101900003, 37.7621199999, -122.5099400003, 37.7602499999, -122.5094600003, 37.7565399999, -122.5089800003, 37.7528299999, -122.5089700003, 37.7527699999, -122.5087300003, 37.7509099999, -122.5084900003, 37.7491099999, -122.5084800003, 37.7490399999, -122.5080200003, 37.7453799999, -122.5078400003, 37.7440099999, -122.5075300003, 37.7416499999, -122.5072900003, 37.7397899999, -122.5071800003, 37.7354899999, -122.5071800003, 37.7331999999, -122.5071600003, 37.7322599999, -122.5067000002, 37.7301899999, -122.5060200002, 37.7272499999, -122.5025900002, 37.7146199999, -122.5025000002, 37.7144799999, -122.4968100001, 37.7020699999, -122.49598, 37.69811, -122.49475, 37.69609, -122.4912, 37.69345, -122.4805999999, 37.6831300001, -122.4786999999, 37.6810700001, -122.4732399999, 37.6766200002, -122.4694599999, 37.6768000002, -122.4637899999, 37.6763600002, -122.4630199999, 37.6762000002, -122.4580299999, 37.6762700002, -122.4489499999, 37.6785900002, -122.4174399999, 37.6866800002, -122.40794, 37.6800000003, -122.40604, 37.6778800003, -122.40076, 37.6649400004, -122.40103, 37.6631100004, -122.40096, 37.6630500004, -122.39938, 37.6626600004, -122.39841, 37.6627300004, -122.38836, 37.6689900004, -122.38134, 37.6721600003, -122.38153, 37.6732500003, -122.38172, 37.6735800003, -122.38211, 37.6740900003, -122.38366, 37.6758300003, -122.38371, 37.6758800003, -122.39052, 37.6865400002, -122.39065, 37.6884100002, -122.39075, 37.6888800002, -122.39105, 37.6902100002, -122.39176, 37.6933600002, -122.38162, 37.7091800001, -122.38119, 37.7101100001, -122.38067, 37.7124300001, -122.37848, 37.7166600001, -122.36721, 37.72715, -122.36633, 37.72845, -122.37001, 37.73209, -122.37644, 37.74073, -122.38274, 37.75119, -122.3822, 37.75994, -122.38572, 37.76969, -122.38577, 37.77036, -122.38742, 37.77552, -122.38768, 37.78162, -122.38335, 37.79303, -122.38236, 37.79395, -122.38103, 37.79519, -122.37952, 37.79661, -122.37598, 37.79994, -122.37301, 37.80271, -122.36416, 37.80856, -122.36361, 37.80892, -122.3333, 37.80617, -122.3232799999, 37.80463, -122.3192999999, 37.80365, -122.3153899999, 37.80234, -122.3049199998, 37.79766, -122.3047399998, 37.79754, -122.3043499998, 37.79732, -122.3039099998, 37.79712, -122.3027399998, 37.79695, -122.3006899998, 37.79723, -122.2903999998, 37.79802, -122.2821399997, 37.79627, -122.2767899996, 37.79532, -122.2751399996, 37.79556, -122.2735199996, 37.7958000001, -122.2703099996, 37.7966500001, -122.2619099995, 37.7990700001, -122.2503799994, 37.8088600001, -122.2509099994, 37.8163900002, -122.2498899994, 37.8208400002, -122.2501799994, 37.8228500002, -122.2504399994, 37.8258400002, -122.2504399994, 37.8279100002, -122.2513399994, 37.8321000002, -122.2526899995, 37.8338400002, -122.2583599996, 37.8420400002, -122.2616799996, 37.8450100002, -122.2649299997, 37.8478700002, -122.2666599997, 37.8493800002, -122.2697899997, 37.8526000001, -122.2794099998, 37.8553000001, -122.2813599999, 37.8563400001, -122.2834099999, 37.8574800001, -122.2867799999, 37.8587600001, -122.2905599999, 37.8604000001, -122.2946, 37.86196, -122.30309, 37.86485, -122.30289, 37.86416, -122.30216, 37.86152, -122.3137, 37.84172, -122.31392, 37.84153, -122.31467, 37.84028, -122.31487, 37.83987, -122.31496, 37.83931, -122.31497, 37.83914, -122.31496, 37.8386, -122.33064, 37.82192, -122.34333, 37.82013, -122.36662, 37.82787, -122.36824, 37.83001, -122.37302, 37.83211, -122.37728, 37.82942, -122.37782, 37.82849, -122.3787, 37.82694, -122.4048, 37.80729, -122.40908, 37.80813, -122.41019, 37.80839, -122.41263, 37.80883, -122.41899, 37.81093, -122.42982, 37.80769, -122.43607, 37.80733, -122.44247, 37.80798, -122.44568, 37.8074, -122.44714, 37.80698, -122.45245, 37.80579, -122.4731900001, 37.83235, -122.47313, 37.83664, -122.47789, 37.84521, -122.47793, 37.84541, -122.47798, 37.84561, -122.47812, 37.84614, -122.47893, 37.85249, -122.47894, 37.85455, -122.47894, 37.85476, -122.47897, 37.85594, -122.47877, 37.85818, -122.47874, 37.85851, -122.48328, 37.85967, -122.48611, 37.86071, -122.48911, 37.86161, -122.4952, 37.86293, -122.4992100001, 37.86262, -122.5005000001, 37.8624400001, -122.5005700001, 37.8624300001, -122.5012000001, 37.8623400001, -122.5051100001, 37.8621300001))</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/0*exlA11Mp6poQ6OQ_.png" /><figcaption>geojson.io — Visualización en un mapa del resultado de la consulta convertido a GeoJSON con fines de visualización.</figcaption></figure><h3>SDO_GCDR.ELOC_DRIVE_TIME_POLYGON</h3><p>Esta función genera un polígono que muestra las áreas accesibles dentro de <strong><em>un tiempo específico de conducción</em></strong> desde una ubicación determinada. Por ejemplo, puedes utilizarla para i<strong>dentificar áreas a las que se puede llegar dentro de 10 minutos desde el almacén</strong>, ideal para optimizar la logística de entregas.</p><pre>SELECT SDO_GCDR.ELOC_DRIVE_TIME_POLYGON(<br>  &#39;2300 Oracle Way, Austin, TX 78741&#39;, -- dirección inicial / puede reemplazarse con la longitud<br>  &#39;US&#39;, -- código de país ISO de 2 caracteres / puede reemplazarse con la latitud<br>  10, -- tiempo<br>  &#39;minute&#39;, -- puede ser hour/minute/second<br>  &#39;truck&#39; -- tipo de vehículo: auto/truck<br>);<br><br>----------------------------------------------------------------------------<br>RESULT<br>MDSYS.SDO_GEOMETRY(2003, 4326, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 1), MDSYS.SDO_ORDINATE_ARRAY(-122.4617400001, 37.78121, -122.45236, 37.72472, -122.45313, 37.72327, -122.45494, 37.71206, -122.45396, 37.712, -122.39176, 37.6933600001, -122.37691, 37.73274, -122.37587, 37.73492, -122.37644, 37.74073, -122.3822, 37.75994, -122.36416, 37.80856, -122.32657, 37.82192, -122.32306, 37.82225, -122.2980599999, 37.82156, -122.2975099999, 37.82654, -122.2981999999, 37.82665, -122.2987299999, 37.82653, -122.30066, 37.82611, -122.30894, 37.82459, -122.3108, 37.82433, -122.31264, 37.82405, -122.31293, 37.824, -122.31339, 37.82392, -122.31372, 37.82386, -122.31553, 37.82353, -122.31741, 37.82321, -122.31801, 37.82311, -122.31892, 37.82295, -122.3276, 37.82185, -122.32823, 37.8218, -122.32889, 37.82174, -122.32943, 37.82169, -122.34322, 37.81978, -122.37216, 37.82078, -122.41899, 37.81093, -122.43607, 37.80733, -122.44656, 37.80685, -122.44678, 37.8068, -122.45119, 37.80594, -122.4544400001, 37.80329, -122.4613700001, 37.78539, -122.4617400001, 37.78121))</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/0*E4mtbEzvUrtkq35S.png" /><figcaption>geojson.io — Visualización en mapa del resultado de la consulta convertido a GeoJSON con fines de visualización.</figcaption></figure><h3>SDO_GCDR.ELOC_ROUTE_DISTANCE</h3><p>Esta función calcula la distancia de la ruta entre dos ubicaciones. <strong>Por ejemplo, puedes utilizarla para identificar qué tan lejos está un destino de entrega del almacén.</strong></p><pre>SELECT SDO_GCDR.ELOC_ROUTE_DISTANCE(<br>  &#39;fastest&#39;, -- preferencia de ruta: fastest/shortest/traffic<br>  &#39;mile&#39;, -- distancia: mile/kilometer/km/meter<br>  &#39;2300 Oracle Way, Austin, TX 78741&#39;, -- dirección inicial / puede reemplazarse con longitud y latitud<br>  &#39;11410 Century Oaks Terrace, Austin, TX 78758&#39;, -- dirección final / puede reemplazarse con longitud y latitud<br>  &#39;US&#39;, -- código de país ISO de 2 caracteres / no es necesario si se usan longitud y latitud<br>  &#39;truck&#39; -- tipo de vehículo: auto/truck<br>) ROUTE_DISTANCE;<br><br>----------------------------------------------------------------------------<br>ROUTE_DISTANCE<br>13.14</pre><h3>SDO_GCDR.ELOC_ROUTE_GEOM</h3><p>Esta función calcula la ruta entre dos ubicaciones y devuelve la geometría en formato SDO_GEOMETRY. <strong>Los resultados pueden utilizarse para visualizar la ruta en un mapa o para realizar análisis espaciales.</strong></p><pre>SELECT SDO_GCDR.ELOC_ROUTE_GEOM(<br>  &#39;fastest&#39;, -- preferencia de ruta: fastest/shortest/traffic<br>  &#39;2300 Oracle Way, Austin, TX 78741&#39;, -- dirección inicial / puede reemplazarse con longitud y latitud<br>  &#39;11410 Century Oaks Terrace, Austin, TX 78758&#39;, -- dirección final / puede reemplazarse con longitud y latitud<br>  &#39;US&#39;, -- código de país ISO de 2 caracteres / no es necesario si se usan longitud y latitud<br>  &#39;truck&#39; -- tipo de vehículo: auto/truck<br>);<br><br>----------------------------------------------------------------------------<br>RESULT<br>MDSYS.SDO_GEOMETRY(2002, 4326, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1), MDSYS.SDO_ORDINATE_ARRAY(-97.722363, 30.2438674, -97.72209, 30.2443, -97.72222, 30.24435, -97.7224, 30.24441, -97.72247, 30.24443, -97.72267, 30.2445, -97.72297, 30.24459, -97.72321, 30.24465, -97.72341, 30.24469, -97.72363, 30.24472, -97.72389, 30.24474, -97.72418, 30.24475, -97.72442, 30.24476, -97.72513, 30.24478, -97.7255, 30.24479, -97.72672, 30.24482, -97.72698, 30.24482, -97.72723, 30.24483, -97.72775, 30.24484, -97.72795, 30.24485, -97.72804, 30.24485, -97.72829, 30.24486, -97.72857, 30.24487, -97.72902, 30.24488, -97.72927, 30.24488, -97.72955, 30.24489, -97.7297, 30.24489, -97.72986, 30.24489, -97.73005, 30.24489, -97.73022, 30.24488, -97.73035, 30.24486, -97.73038, 30.24485, -97.73052, 30.24505, -97.73058, 30.24515, -97.73079, 30.24541, -97.73084, 30.24546, -97.73111, 30.24567, -97.73117, 30.24572, -97.73139, 30.24591, -97.73151, 30.24601, -97.73157, 30.24606, -97.73198, 30.24638, -97.73222, 30.24657, -97.73239, 30.2467, -97.73298, 30.24716, -97.7331, 30.24725, -97.73318, 30.24731, -97.73325, 30.24736, -97.73336, 30.24744, -97.73343, 30.24749, -97.73349, 30.24753, -97.73354, 30.24756, -97.73364, 30.24761, -97.73369, 30.24763, -97.73374, 30.24765, -97.73386, 30.24769, -97.73397, 30.24772, -97.7344, 30.24783, -97.73454, 30.24791, -97.73462, 30.24796, -97.73468, 30.248, -97.73474, 30.24805, -97.7348, 30.24811, -97.73486, 30.24818, -97.73494, 30.24833, -97.73499, 30.24843, -97.73505, 30.24853, -97.73508, 30.24858, -97.73511, 30.24863, -97.73518, 30.24876, -97.7352, 30.24883, -97.73523, 30.24895, -97.73527, 30.24916, -97.73529, 30.24927, -97.73531, 30.24938, -97.73537, 30.24963, -97.73548, 30.25009, -97.73562, 30.25072, -97.73573, 30.25126, -97.73578, 30.2515, -97.7358, 30.25159, -97.73584, 30.25175, -97.73589, 30.25201, -97.73597, 30.25246, -97.73609, 30.25272, -97.73615, 30.2529, -97.73624, 30.25315, -97.73636, 30.25361, -97.73646, 30.25399, -97.73652, 30.25417, -97.73668, 30.25456, -97.73674, 30.25489, -97.7369, 30.25584, -97.73697, 30.25623, -97.73699, 30.25638, -97.73704, 30.25673, -97.73706, 30.25689, -97.73707, 30.25706, -97.73708, 30.25728, -97.73708, 30.25769, -97.73706, 30.25801, -97.73702, 30.25831, -97.737, 30.25846, -97.73698, 30.25859, -97.73696, 30.25872, -97.73693, 30.25888, -97.73689, 30.25906, -97.73686, 30.25919, -97.73682, 30.25934, -97.73678, 30.25947, -97.73673, 30.25962, -97.73667, 30.25981, -97.73651, 30.26029, -97.73632, 30.26086, -97.73622, 30.26115, -97.73614, 30.2614, -97.73573, 30.26258, -97.73552, 30.26316, -97.73529, 30.26379, -97.73522, 30.26397, -97.73519, 30.26405, -97.73517, 30.2641, -97.73482, 30.26505, -97.73456, 30.26574, -97.73429, 30.26648, -97.73421, 30.26669, -97.73388, 30.26759, -97.73386, 30.26765, -97.7337, 30.26807, -97.73343, 30.2688, -97.73319, 30.26945, -97.73296, 30.27009, -97.73284, 30.27042, -97.73277, 30.27061, -97.73271, 30.27077, -97.73264, 30.27095, -97.73258, 30.27111, -97.73243, 30.27151, -97.73231, 30.27184, -97.73212, 30.27237, -97.73198, 30.27279, -97.73188, 30.27309, -97.73177, 30.27344, -97.73167, 30.27376, -97.73158, 30.27405, -97.73145, 30.2745, -97.73139, 30.27471, -97.73134, 30.27487, -97.73125, 30.27516, -97.73117, 30.27541, -97.73112, 30.27556, -97.73107, 30.27571, -97.73101, 30.27587, -97.73092, 30.2761, -97.73087, 30.27624, -97.73082, 30.27637, -97.73076, 30.27652, -97.73071, 30.27664, -97.73066, 30.27675, -97.7306, 30.27688, -97.73053, 30.27702, -97.73026, 30.27754, -97.72987, 30.27834, -97.7298, 30.27849, -97.72977, 30.27855, -97.72974, 30.27862, -97.72964, 30.27879, -97.72953, 30.27898, -97.72937, 30.27926, -97.72895, 30.27995, -97.72813, 30.28128, -97.72775, 30.28191, -97.72765, 30.28208, -97.72733, 30.28259, -97.72723, 30.28276, -97.72707, 30.28302, -97.72699, 30.28315, -97.72644, 30.28397, -97.72628, 30.28421, -97.72595, 30.28471, -97.72542, 30.28547, -97.72483, 30.28644, -97.72475, 30.28656, -97.72399, 30.28776, -97.7237, 30.28823, -97.72339, 30.28869, -97.72311, 30.28914, -97.72277, 30.28967, -97.72238, 30.29028, -97.72206, 30.29079, -97.72124, 30.29205, -97.72068, 30.29291, -97.71946, 30.29478, -97.71889, 30.29569, -97.71857, 30.29619, -97.71836, 30.29651, -97.71818, 30.29677, -97.718, 30.29705, -97.71779, 30.29736, -97.71724, 30.29827, -97.71707, 30.29854, -97.71698, 30.29869, -97.71686, 30.29887, -97.71668, 30.29918, -97.7166, 30.29932, -97.71657, 30.29937, -97.71637, 30.2997, -97.71601, 30.30031, -97.71577, 30.30071, -97.7156, 30.301, -97.71544, 30.30128, -97.71524, 30.30163, -97.71514, 30.30179, -97.71506, 30.30194, -97.7149, 30.30224, -97.7148, 30.30239, -97.71474, 30.30249, -97.71462, 30.3027, -97.71432, 30.30317, -97.7142, 30.30334, -97.7132, 30.30491, -97.71294, 30.30532, -97.71167, 30.30731, -97.71154, 30.30751, -97.71078, 30.30863, -97.71056, 30.30895, -97.71042, 30.30916, -97.71035, 30.30925, -97.71033, 30.30929, -97.71025, 30.30942, -97.71005, 30.30974, -97.70997, 30.30987, -97.70995, 30.30991, -97.70971, 30.31029, -97.70939, 30.31088, -97.70895, 30.31176, -97.70884, 30.31199, -97.70867, 30.31236, -97.70842, 30.31293, -97.70834, 30.31312, -97.70812, 30.31374, -97.70798, 30.31416, -97.70792, 30.31438, -97.70787, 30.31455, -97.70779, 30.31482, -97.70777, 30.31491, -97.70774, 30.31505, -97.70769, 30.31525, -97.70756, 30.31604, -97.70753, 30.31622, -97.70751, 30.31633, -97.70748, 30.3165, -97.70729, 30.31786, -97.70711, 30.31911, -97.70704, 30.31958, -97.707, 30.31983, -97.70688, 30.32053, -97.70682, 30.321, -97.70676, 30.32144, -97.70672, 30.32161, -97.7067, 30.32175, -97.70666, 30.32204, -97.70664, 30.32224, -97.70659, 30.32257, -97.70658, 30.32264, -97.70656, 30.32279, -97.70647, 30.32349, -97.70629, 30.32485, -97.70624, 30.32525, -97.70619, 30.32561, -97.70611, 30.32615, -97.70602, 30.3268, -97.70594, 30.32733, -97.70591, 30.32752, -97.7058, 30.32812, -97.70574, 30.32841, -97.70567, 30.32872, -97.70562, 30.32894, -97.70555, 30.32921, -97.7055, 30.3294, -97.70537, 30.32983, -97.70527, 30.33013, -97.70515, 30.33047, -97.705, 30.33086, -97.70485, 30.33121, -97.70475, 30.33142, -97.70461, 30.33161, -97.70445, 30.33182, -97.70421, 30.33225, -97.70408, 30.33246, -97.70403, 30.33254, -97.70394, 30.33269, -97.70384, 30.33285, -97.70321, 30.33385, -97.70249, 30.33497, -97.7022, 30.33538, -97.70192, 30.33576, -97.7014, 30.33647, -97.70096, 30.33709, -97.70077, 30.33736, -97.70061, 30.3376, -97.70048, 30.33782, -97.7004, 30.33799, -97.70035, 30.33812, -97.7003, 30.33833, -97.70025, 30.3387, -97.70025, 30.33894, -97.70028, 30.33909, -97.70029, 30.33914, -97.70034, 30.33927, -97.70041, 30.3394, -97.70052, 30.33958, -97.70055, 30.33962, -97.70059, 30.33969, -97.70064, 30.33976, -97.70075, 30.33988, -97.70099, 30.34012, -97.70137, 30.34049, -97.70183, 30.34092, -97.70226, 30.34138, -97.70321, 30.34234, -97.70343, 30.34256, -97.70365, 30.34278, -97.70398, 30.34304, -97.70408, 30.34313, -97.70416, 30.34319, -97.70431, 30.34331, -97.70476, 30.34367, -97.7052, 30.34398, -97.7056, 30.34423, -97.70667, 30.34487, -97.70686, 30.34499, -97.70721, 30.34519, -97.70783, 30.34555, -97.70831, 30.3458, -97.70863, 30.34595, -97.7089, 30.34606, -97.70945, 30.34627, -97.71002, 30.34647, -97.71079, 30.34675, -97.71093, 30.3468, -97.71101, 30.34683, -97.71111, 30.34687, -97.71118, 30.3469, -97.71129, 30.34695, -97.71139, 30.347, -97.71153, 30.34708, -97.71166, 30.34716, -97.7118, 30.34725, -97.71191, 30.34732, -97.71199, 30.34738, -97.71204, 30.34742, -97.71211, 30.34748, -97.71219, 30.34755, -97.71228, 30.34763, -97.71238, 30.34772, -97.71242, 30.34776, -97.71247, 30.34781, -97.71256, 30.34792, -97.71261, 30.34798, -97.71266, 30.34805, -97.71271, 30.34812, -97.71275, 30.34818, -97.7128, 30.34826, -97.71284, 30.34833, -97.7129, 30.34843, -97.71295, 30.34852, -97.71302, 30.34866, -97.71307, 30.34877, -97.71311, 30.34887, -97.71316, 30.349, -97.71321, 30.34915, -97.71328, 30.34936, -97.71335, 30.34959, -97.71343, 30.34986, -97.71349, 30.35006, -97.71354, 30.35022, -97.71359, 30.35039, -97.71362, 30.35049, -97.71399, 30.35168, -97.71422, 30.35245, -97.71434, 30.35284, -97.71441, 30.35306, -97.71449, 30.35332, -97.71466, 30.35387, -97.71488, 30.35463, -97.71497, 30.35494, -97.71517, 30.35563, -97.71557, 30.35696, -97.71591, 30.35807, -97.7164, 30.35972, -97.71661, 30.36043, -97.71685, 30.36121, -97.71719, 30.36236, -97.71738, 30.36301, -97.71743, 30.36319, -97.71747, 30.36331, -97.71753, 30.3635, -97.71778, 30.36431, -97.71789, 30.36473, -97.71797, 30.36515, -97.71804, 30.36553, -97.71812, 30.36599, -97.71818, 30.3664, -97.7183, 30.36702, -97.71834, 30.36723, -97.71838, 30.36744, -97.71844, 30.36764, -97.71851, 30.36784, -97.71862, 30.36811, -97.71877, 30.3684, -97.7189, 30.36864, -97.71902, 30.36883, -97.71922, 30.36912, -97.71937, 30.36934, -97.71947, 30.36947, -97.71957, 30.3696, -97.71965, 30.3697, -97.71971, 30.36977, -97.71981, 30.36988, -97.71991, 30.36998, -97.72003, 30.37009, -97.72018, 30.37022, -97.72036, 30.37036, -97.72056, 30.37051, -97.72078, 30.37065, -97.72098, 30.37077, -97.72121, 30.37089, -97.72142, 30.37099, -97.72179, 30.37115, -97.72233, 30.37138, -97.72326, 30.37178, -97.72357, 30.37192, -97.72387, 30.37205, -97.72394, 30.37208, -97.72428, 30.37224, -97.7255, 30.37283, -97.72593, 30.37304, -97.72625, 30.37319, -97.72652, 30.37332, -97.72683, 30.37347, -97.72712, 30.37361, -97.72794, 30.37401, -97.72808, 30.37408, -97.72959, 30.37481, -97.73025, 30.37513, -97.73052, 30.37532, -97.73074, 30.37546, -97.73138, 30.37583, -97.73227, 30.37635, -97.73284, 30.37672, -97.73313, 30.37692, -97.73352, 30.37721, -97.73389, 30.37751, -97.73427, 30.37782, -97.73543, 30.37877, -97.73575, 30.37908, -97.73594, 30.37927, -97.73603, 30.37939, -97.73617, 30.37962, -97.73626, 30.3798, -97.73632, 30.37999, -97.73636, 30.38016, -97.73638, 30.38038, -97.73637, 30.38058, -97.73633, 30.38085, -97.73618, 30.38142, -97.73603, 30.38195, -97.73586, 30.38259, -97.73567, 30.38349, -97.73559, 30.38385, -97.73543, 30.38454, -97.73535, 30.38495, -97.7353, 30.3854, -97.73491, 30.38687, -97.73469, 30.38774, -97.73441, 30.38881, -97.73421, 30.38958, -97.73419, 30.38967, -97.73416, 30.38977, -97.73414, 30.38985, -97.73412, 30.38993, -97.73333, 30.39296, -97.73308, 30.39393, -97.73287, 30.39475, -97.73277, 30.39512, -97.73264, 30.39559, -97.73261, 30.39568, -97.73257, 30.3958, -97.73254, 30.39588, -97.73229, 30.39654, -97.73214, 30.39691, -97.73202, 30.39716, -97.73175, 30.39773, -97.73153, 30.39814, -97.73125, 30.39863, -97.73079, 30.39933, -97.7294, 30.4011, -97.72901, 30.40153, -97.72874, 30.40181, -97.72854, 30.40203, -97.72815, 30.40242, -97.72794, 30.40262, -97.72774, 30.4028, -97.72774, 30.4028))</pre><h3>SDO_GCDR.ELOC_ROUTE_TIME</h3><p>Esta función calcula el tiempo de la ruta entre dos ubicaciones. <strong>Puedes utilizarla para identificar cuánto tiempo tomará ir desde el almacén hasta el destino de entrega.</strong></p><pre>SELECT SDO_GCDR.ELOC_ROUTE_TIME(<br>  &#39;fastest&#39;, -- preferencia de ruta: fastest/shortest/traffic<br>  &#39;minute&#39;, -- unidad de tiempo: hour/minute/second<br>  &#39;2300 Oracle Way, Austin, TX 78741&#39;, -- dirección inicial / puede reemplazarse con longitud y latitud<br>  &#39;2015 E Riverside Dr, Austin, TX 78741&#39;, -- dirección final / puede reemplazarse con longitud y latitud<br>  &#39;US&#39;, -- código de país ISO de 2 caracteres / no es necesario si se usan longitud y latitud<br>  &#39;truck&#39; -- tipo de vehículo: auto/truck<br>) ROUTE_TIME;<br><br>----------------------------------------------------------------------------<br>ROUTE_TIME<br>13.64</pre><h3>SDO_GCDR.ELOC_ROUTE</h3><p>Esta función combina las funciones anteriores, ya que calcula la ruta entre dos ubicaciones y devuelve la distancia, el tiempo y la geometría de la ruta en formato JSON. Con ella, puedes responder preguntas como: <strong>¿Cuál es la ruta más rápida desde el almacén hasta una dirección específica de un cliente? ¿Cuánto tiempo tomará y cuál es la distancia en millas?</strong></p><pre>SELECT SDO_GCDR.ELOC_ROUTE(<br>  &#39;fastest&#39;, -- preferencia de ruta: fastest/shortest/traffic<br>  &#39;mile&#39;, -- unidad de distancia: mile/kilometer/km/meter<br>  &#39;minute&#39;, -- unidad de tiempo: hour/minute/second<br>  &#39;2300 Oracle Way, Austin, TX 78741&#39;, -- dirección inicial / puede reemplazarse con longitud y latitud<br>  &#39;11410 Century Oaks Terrace, Austin, TX 78758&#39;, -- dirección final / puede reemplazarse con longitud y latitud<br>  &#39;US&#39;, -- código de país ISO de 2 caracteres / no es necesario si se usan longitud y latitud<br>  &#39;truck&#39; -- tipo de vehículo: auto/truck<br>);<br><br>----------------------------------------------------------------------------<br>RESULT<br>{&quot;routeResponse&quot;:{&quot;route&quot;:{&quot;id&quot;:&quot;1&quot;,&quot;distance&quot;:13.14,&quot;distanceUnit&quot;:&quot;mile&quot;,&quot;time&quot;:13.64,&quot;timeUnit&quot;:&quot;minute&quot;,&quot;geometry&quot;:{&quot;type&quot;:&quot;LineString&quot;,&quot;coordinates&quot;:[[-97.722363,30.2438674],[-97.72209,30.2443],[-97.72222,30.24435],[-97.7224,30.24441],[-97.72247,30.24443],[-97.72267,30.2445],[-97.72297,30.24459],[-97.72321,30.24465],[-97.72341,30.24469],[-97.72363,30.24472],[-97.72389,30.24474],[-97.72418,30.24475],[-97.72442,30.24476],[-97.72513,30.24478],[-97.7255,30.24479],[-97.72672,30.24482],[-97.72698,30.24482],[-97.72723,30.24483],[-97.72775,30.24484],[-97.72795,30.24485],[-97.72804,30.24485],[-97.72829,30.24486],[-97.72857,30.24487],[-97.72902,30.24488],[-97.72927,30.24488],[-97.72955,30.24489],[-97.7297,30.24489],[-97.72986,30.24489],[-97.73005,30.24489],[-97.73022,30.24488],[-97.73035,30.24486],[-97.73038,30.24485],[-97.73052,30.24505],[-97.73058,30.24515],[-97.73079,30.24541],[-97.73084,30.24546],[-97.73111,30.24567],[-97.73117,30.24572],[-97.73139,30.24591],[-97.73151,30.24601],[-97.73157,30.24606],[-97.73198,30.24638],[-97.73222,30.24657],[-97.73239,30.2467],[-97.73298,30.24716],[-97.7331,30.24725],[-97.73318,30.24731],[-97.73325,30.24736],[-97.73336,30.24744],[-97.73343,30.24749],[-97.73349,30.24753],[-97.73354,30.24756],[-97.73364,30.24761],[-97.73369,30.24763],[-97.73374,30.24765],[-97.73386,30.24769],[-97.73397,30.24772],[-97.7344,30.24783],[-97.73454,30.24791],[-97.73462,30.24796],[-97.73468,30.248],[-97.73474,30.24805],[-97.7348,30.24811],[-97.73486,30.24818],[-97.73494,30.24833],[-97.73499,30.24843],[-97.73505,30.24853],[-97.73508,30.24858],[-97.73511,30.24863],[-97.73518,30.24876],[-97.7352,30.24883],[-97.73523,30.24895],[-97.73527,30.24916],[-97.73529,30.24927],[-97.73531,30.24938],[-97.73537,30.24963],[-97.73548,30.25009],[-97.73562,30.25072],[-97.73573,30.25126],[-97.73578,30.2515],[-97.7358,30.25159],[-97.73584,30.25175],[-97.73589,30.25201],[-97.73597,30.25246],[-97.73609,30.25272],[-97.73615,30.2529],[-97.73624,30.25315],[-97.73636,30.25361],[-97.73646,30.25399],[-97.73652,30.25417],[-97.73668,30.25456],[-97.73674,30.25489],[-97.7369,30.25584],[-97.73697,30.25623],[-97.73699,30.25638],[-97.73704,30.25673],[-97.73706,30.25689],[-97.73707,30.25706],[-97.73708,30.25728],[-97.73708,30.25769],[-97.73706,30.25801],[-97.73702,30.25831],[-97.737,30.25846],[-97.73698,30.25859],[-97.73696,30.25872],[-97.73693,30.25888],[-97.73689,30.25906],[-97.73686,30.25919],[-97.73682,30.25934],[-97.73678,30.25947],[-97.73673,30.25962],[-97.73667,30.25981],[-97.73651,30.26029],[-97.73632,30.26086],[-97.73622,30.26115],[-97.73614,30.2614],[-97.73573,30.26258],[-97.73552,30.26316],[-97.73529,30.26379],[-97.73522,30.26397],[-97.73519,30.26405],[-97.73517,30.2641],[-97.73482,30.26505],[-97.73456,30.26574],[-97.73429,30.26648],[-97.73421,30.26669],[-97.73388,30.26759],[-97.73386,30.26765],[-97.7337,30.26807],[-97.73343,30.2688],[-97.73319,30.26945],[-97.73296,30.27009],[-97.73284,30.27042],[-97.73277,30.27061],[-97.73271,30.27077],[-97.73264,30.27095],[-97.73258,30.27111],[-97.73243,30.27151],[-97.73231,30.27184],[-97.73212,30.27237],[-97.73198,30.27279],[-97.73188,30.27309],[-97.73177,30.27344],[-97.73167,30.27376],[-97.73158,30.27405],[-97.73145,30.2745],[-97.73139,30.27471],[-97.73134,30.27487],[-97.73125,30.27516],[-97.73117,30.27541],[-97.73112,30.27556],[-97.73107,30.27571],[-97.73101,30.27587],[-97.73092,30.2761],[-97.73087,30.27624],[-97.73082,30.27637],[-97.73076,30.27652],[-97.73071,30.27664],[-97.73066,30.27675],[-97.7306,30.27688],[-97.73053,30.27702],[-97.73026,30.27754],[-97.72987,30.27834],[-97.7298,30.27849],[-97.72977,30.27855],[-97.72974,30.27862],[-97.72964,30.27879],[-97.72953,30.27898],[-97.72937,30.27926],[-97.72895,30.27995],[-97.72813,30.28128],[-97.72775,30.28191],[-97.72765,30.28208],[-97.72733,30.28259],[-97.72723,30.28276],[-97.72707,30.28302],[-97.72699,30.28315],[-97.72644,30.28397],[-97.72628,30.28421],[-97.72595,30.28471],[-97.72542,30.28547],[-97.72483,30.28644],[-97.72475,30.28656],[-97.72399,30.28776],[-97.7237,30.28823],[-97.72339,30.28869],[-97.72311,30.28914],[-97.72277,30.28967],[-97.72238,30.29028],[-97.72206,30.29079],[-97.72124,30.29205],[-97.72068,30.29291],[-97.71946,30.29478],[-97.71889,30.29569],[-97.71857,30.29619],[-97.71836,30.29651],[-97.71818,30.29677],[-97.718,30.29705],[-97.71779,30.29736],[-97.71724,30.29827],[-97.71707,30.29854],[-97.71698,30.29869],[-97.71686,30.29887],[-97.71668,30.29918],[-97.7166,30.29932],[-97.71657,30.29937],[-97.71637,30.2997],[-97.71601,30.30031],[-97.71577,30.30071],[-97.7156,30.301],[-97.71544,30.30128],[-97.71524,30.30163],[-97.71514,30.30179],[-97.71506,30.30194],[-97.7149,30.30224],[-97.7148,30.30239],[-97.71474,30.30249],[-97.71462,30.3027],[-97.71432,30.30317],[-97.7142,30.30334],[-97.7132,30.30491],[-97.71294,30.30532],[-97.71167,30.30731],[-97.71154,30.30751],[-97.71078,30.30863],[-97.71056,30.30895],[-97.71042,30.30916],[-97.71035,30.30925],[-97.71033,30.30929],[-97.71025,30.30942],[-97.71005,30.30974],[-97.70997,30.30987],[-97.70995,30.30991],[-97.70971,30.31029],[-97.70939,30.31088],[-97.70895,30.31176],[-97.70884,30.31199],[-97.70867,30.31236],[-97.70842,30.31293],[-97.70834,30.31312],[-97.70812,30.31374],[-97.70798,30.31416],[-97.70792,30.31438],[-97.70787,30.31455],[-97.70779,30.31482],[-97.70777,30.31491],[-97.70774,30.31505],[-97.70769,30.31525],[-97.70756,30.31604],[-97.70753,30.31622],[-97.70751,30.31633],[-97.70748,30.3165],[-97.70729,30.31786],[-97.70711,30.31911],[-97.70704,30.31958],[-97.707,30.31983],[-97.70688,30.32053],[-97.70682,30.321],[-97.70676,30.32144],[-97.70672,30.32161],[-97.7067,30.32175],[-97.70666,30.32204],[-97.70664,30.32224],[-97.70659,30.32257],[-97.70658,30.32264],[-97.70656,30.32279],[-97.70647,30.32349],[-97.70629,30.32485],[-97.70624,30.32525],[-97.70619,30.32561],[-97.70611,30.32615],[-97.70602,30.3268],[-97.70594,30.32733],[-97.70591,30.32752],[-97.7058,30.32812],[-97.70574,30.32841],[-97.70567,30.32872],[-97.70562,30.32894],[-97.70555,30.32921],[-97.7055,30.3294],[-97.70537,30.32983],[-97.70527,30.33013],[-97.70515,30.33047],[-97.705,30.33086],[-97.70485,30.33121],[-97.70475,30.33142],[-97.70461,30.33161],[-97.70445,30.33182],[-97.70421,30.33225],[-97.70408,30.33246],[-97.70403,30.33254],[-97.70394,30.33269],[-97.70384,30.33285],[-97.70321,30.33385],[-97.70249,30.33497],[-97.7022,30.33538],[-97.70192,30.33576],[-97.7014,30.33647],[-97.70096,30.33709],[-97.70077,30.33736],[-97.70061,30.3376],[-97.70048,30.33782],[-97.7004,30.33799],[-97.70035,30.33812],[-97.7003,30.33833],[-97.70025,30.3387],[-97.70025,30.33894],[-97.70028,30.33909],[-97.70029,30.33914],[-97.70034,30.33927],[-97.70041,30.3394],[-97.70052,30.33958],[-97.70055,30.33962],[-97.70059,30.33969],[-97.70064,30.33976],[-97.70075,30.33988],[-97.70099,30.34012],[-97.70137,30.34049],[-97.70183,30.34092],[-97.70226,30.34138],[-97.70321,30.34234],[-97.70343,30.34256],[-97.70365,30.34278],[-97.70398,30.34304],[-97.70408,30.34313],[-97.70416,30.34319],[-97.70431,30.34331],[-97.70476,30.34367],[-97.7052,30.34398],[-97.7056,30.34423],[-97.70667,30.34487],[-97.70686,30.34499],[-97.70721,30.34519],[-97.70783,30.34555],[-97.70831,30.3458],[-97.70863,30.34595],[-97.7089,30.34606],[-97.70945,30.34627],[-97.71002,30.34647],[-97.71079,30.34675],[-97.71093,30.3468],[-97.71101,30.34683],[-97.71111,30.34687],[-97.71118,30.3469],[-97.71129,30.34695],[-97.71139,30.347],[-97.71153,30.34708],[-97.71166,30.34716],[-97.7118,30.34725],[-97.71191,30.34732],[-97.71199,30.34738],[-97.71204,30.34742],[-97.71211,30.34748],[-97.71219,30.34755],[-97.71228,30.34763],[-97.71238,30.34772],[-97.71242,30.34776],[-97.71247,30.34781],[-97.71256,30.34792],[-97.71261,30.34798],[-97.71266,30.34805],[-97.71271,30.34812],[-97.71275,30.34818],[-97.7128,30.34826],[-97.71284,30.34833],[-97.7129,30.34843],[-97.71295,30.34852],[-97.71302,30.34866],[-97.71307,30.34877],[-97.71311,30.34887],[-97.71316,30.349],[-97.71321,30.34915],[-97.71328,30.34936],[-97.71335,30.34959],[-97.71343,30.34986],[-97.71349,30.35006],[-97.71354,30.35022],[-97.71359,30.35039],[-97.71362,30.35049],[-97.71399,30.35168],[-97.71422,30.35245],[-97.71434,30.35284],[-97.71441,30.35306],[-97.71449,30.35332],[-97.71466,30.35387],[-97.71488,30.35463],[-97.71497,30.35494],[-97.71517,30.35563],[-97.71557,30.35696],[-97.71591,30.35807],[-97.7164,30.35972],[-97.71661,30.36043],[-97.71685,30.36121],[-97.71719,30.36236],[-97.71738,30.36301],[-97.71743,30.36319],[-97.71747,30.36331],[-97.71753,30.3635],[-97.71778,30.36431],[-97.71789,30.36473],[-97.71797,30.36515],[-97.71804,30.36553],[-97.71812,30.36599],[-97.71818,30.3664],[-97.7183,30.36702],[-97.71834,30.36723],[-97.71838,30.36744],[-97.71844,30.36764],[-97.71851,30.36784],[-97.71862,30.36811],[-97.71877,30.3684],[-97.7189,30.36864],[-97.71902,30.36883],[-97.71922,30.36912],[-97.71937,30.36934],[-97.71947,30.36947],[-97.71957,30.3696],[-97.71965,30.3697],[-97.71971,30.36977],[-97.71981,30.36988],[-97.71991,30.36998],[-97.72003,30.37009],[-97.72018,30.37022],[-97.72036,30.37036],[-97.72056,30.37051],[-97.72078,30.37065],[-97.72098,30.37077],[-97.72121,30.37089],[-97.72142,30.37099],[-97.72179,30.37115],[-97.72233,30.37138],[-97.72326,30.37178],[-97.72357,30.37192],[-97.72387,30.37205],[-97.72394,30.37208],[-97.72428,30.37224],[-97.7255,30.37283],[-97.72593,30.37304],[-97.72625,30.37319],[-97.72652,30.37332],[-97.72683,30.37347],[-97.72712,30.37361],[-97.72794,30.37401],[-97.72808,30.37408],[-97.72959,30.37481],[-97.73025,30.37513],[-97.73052,30.37532],[-97.73074,30.37546],[-97.73138,30.37583],[-97.73227,30.37635],[-97.73284,30.37672],[-97.73313,30.37692],[-97.73352,30.37721],[-97.73389,30.37751],[-97.73427,30.37782],[-97.73543,30.37877],[-97.73575,30.37908],[-97.73594,30.37927],[-97.73603,30.37939],[-97.73617,30.37962],[-97.73626,30.3798],[-97.73632,30.37999],[-97.73636,30.38016],[-97.73638,30.38038],[-97.73637,30.38058],[-97.73633,30.38085],[-97.73618,30.38142],[-97.73603,30.38195],[-97.73586,30.38259],[-97.73567,30.38349],[-97.73559,30.38385],[-97.73543,30.38454],[-97.73535,30.38495],[-97.7353,30.3854],[-97.73491,30.38687],[-97.73469,30.38774],[-97.73441,30.38881],[-97.73421,30.38958],[-97.73419,30.38967],[-97.73416,30.38977],[-97.73414,30.38985],[-97.73412,30.38993],[-97.73333,30.39296],[-97.73308,30.39393],[-97.73287,30.39475],[-97.73277,30.39512],[-97.73264,30.39559],[-97.73261,30.39568],[-97.73257,30.3958],[-97.73254,30.39588],[-97.73229,30.39654],[-97.73214,30.39691],[-97.73202,30.39716],[-97.73175,30.39773],[-97.73153,30.39814],[-97.73125,30.39863],[-97.73079,30.39933],[-97.7294,30.4011],[-97.72901,30.40153],[-97.72874,30.40181],[-97.72854,30.40203],[-97.72815,30.40242],[-97.72794,30.40262],[-97.72774,30.4028],[-97.72774,30.4028]]}}}}</pre><p>La ruta más rápida es de 13.14 millas y toma 13.64 minutos (13 minutos y 38 segundos) para llegar a ese cliente específico.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/0*FDzGS4DGxHCLBoqB.png" /><figcaption>geojson.io — Visualización en un mapa del resultado de la consulta convertido a GeoJSON con fines de visualización.</figcaption></figure><p>Oracle Spatial también cuenta con otras funciones útiles de geocodificación. ¡Consulta esta <a href="https://docs.oracle.com/en/database/oracle/oracle-database/26/spatl/sdo_gcdr-package-geocoding.html">lista</a>!</p><p><a href="https://medium.com/tag/oracle-spatial">Medium</a> (= todos los artículos con la etiqueta Oracle Spatial)<br><a href="https://stackoverflow.com/questions/tagged/oracle-spatial">Stack Overflow</a> (= preguntas con la etiqueta oracle-spatial)<br><a href="https://join.slack.com/t/andouc/shared_invite/zt-2tjbk58ib-MLbTwXInp80nQQuX6BtL_Q">Slack AnDOUC</a> (= enlace de invitación, por favor visita #spatial)<br><a href="https://join.slack.com/t/oracledevrel/shared_invite/zt-uffjmwh3-ksmv2ii9YxSkc6IpbokL1g">Slack OracleDevRel</a> (= enlace de invitación, por favor visita #oracle-db-spatial)<br><a href="https://www.youtube.com/channel/UCZqBavfLlCuS0il6zNY696w">Youtube Channel</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59a75eb41897" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oracledevs/capacidades-de-enrutamiento-espacial-de-oracle-en-oracle-autonomous-database-59a75eb41897">Capacidades de Enrutamiento Espacial de Oracle en Oracle Autonomous Database</a> was originally published in <a href="https://medium.com/oracledevs">Oracle Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visualize Graphs in SQL Developer for VS Code]]></title>
            <link>https://medium.com/oracledevs/visualize-graphs-in-sql-developer-for-vs-code-bdbe3d4a1248?source=rss-b846cd4fb587------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdbe3d4a1248</guid>
            <category><![CDATA[oracle-graph]]></category>
            <category><![CDATA[sql-developer]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[vscode-extension]]></category>
            <category><![CDATA[graph-visualization]]></category>
            <dc:creator><![CDATA[Ramu Murakami Gutierrez]]></dc:creator>
            <pubDate>Mon, 08 Sep 2025 17:06:14 GMT</pubDate>
            <atom:updated>2025-10-22T15:24:59.146Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XmiLrnXLyA9rHe60A0jSnw.png" /></figure><p>Did you know? If you’re using Oracle <strong>SQL Developer with an extension for </strong><a href="https://www.oracle.com/database/sqldeveloper/vscode/"><strong>Visual Studio Code</strong></a>, you can now visualize your SQL Property Graphs!</p><p><strong>Oracle SQL Developer</strong> is a free, integrated development environment (IDE) that simplifies the development and management of Oracle Database. You can choose the SQL Developer interface that works best for you. Whether it’s the desktop application, a web browser when working with Autonomous Database (called ‘Database Actions’), the command line (called ‘SQLcl’), or Visual Studio Code through an extension.</p><p>Previously, I’ve already covered how to run SQL <a href="https://medium.com/oracledevs/get-started-with-oracle-graph-using-sql-developer-e5ccbd61c9fb">graph queries with SQL Developer Desktop</a>, which you can utilize to run the same queries in the SQL Developer extension for VS Code. The great news is that you can visualize your graphs right in SQL Developer with 5 simple steps when using the <strong>Graph Visualization</strong> extension to SQL Developer for VS Code.</p><h4>This is how it works in 5 simple steps:</h4><blockquote>The following steps assume you already have a database user with the necessary permissions to run graph queries and a graph that’s been created in Oracle Database 23ai. If you are not familiar with these requirements, you can follow <a href="https://medium.com/oracledevs/get-started-with-oracle-graph-using-sql-developer-e5ccbd61c9fb">this blog post</a>, which also includes access to the sample dataset used for the visualization in this blog.</blockquote><p>Step 1 — Install the <a href="https://marketplace.visualstudio.com/items?itemName=Oracle.sql-developer">Oracle SQL Developer extension</a> for VS Code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*eHF0qYjiKk1Gzf1oz78mAA.png" /><figcaption>Oracle SQL Developer Graph Visualization for VSCode</figcaption></figure><p>Step 2 — Install the <a href="https://marketplace.visualstudio.com/items?itemName=Oracle.sql-developer-graph-visualization">Graph Visualization Extension</a> for VS Code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/1*iRta6Q0q-h0F-0sNTvaAlA.png" /><figcaption>Oracle SQL Developer Graph Visualization Extension for VS in VS Code</figcaption></figure><p>Step 3 — Create a connection to your Oracle Database instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QU1TsISJWxIF0mp0ECPMLA.png" /><figcaption>Create connection to database in SQL Developer VS Code</figcaption></figure><p>Step 4 — Open a SQL Worksheet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*hlwtbEStEcXGdbc3iJ3afw.png" /><figcaption>Right click on the new connection to open a new SQL Worksheet</figcaption></figure><p>Step 5 — Visualize your Graph by using the Visualize SQL Graph run button to execute SQL graph queries.</p><blockquote>Note: SQL graph queries require the vertex_id() and edge_id() functions to be used in the COLUMNS clause for the results to be visualized.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TisE1mZY0hMLyJkp-JubBg.png" /><figcaption>This graph highlights circular transfers that both originate and terminate at Russell Rivera’s account, while also emphasizing accounts with balances over $150,000 and transfers over $9,000</figcaption></figure><h4>What graph visualization features are available?</h4><p>If you’ve used <a href="https://medium.com/oracledevs/visualizing-graphs-in-oracle-graph-6159c8ce2491">Graph Visualization</a> before, you’ll notice a few familiar features. These include the tools in the Graph Visualization window that let you manipulate your graph with options — such as <em>fit to screen</em>, <em>sticky mode</em>, <em>grouping</em>, and more. You can also add captions and highlights for deeper insights via the settings menu, located to the right of the Graph Visualization tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aZjAmpwCmSnykIwtYfl8WQ.png" /><figcaption>Visualization settings</figcaption></figure><p>You can also right-click on any vertex or edge to see its properties.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pYSYjp-c8h8x3LKSe1DEVA.png" /><figcaption>This graph shows the properties of account 135</figcaption></figure><p>I hope you’re as excited as I am about everything that’s now possible right within VS Code!</p><p><a href="https://medium.com/tag/oracle-graph">Medium</a> (= all articles with Oracle Graph tag)<br><a href="https://stackoverflow.com/questions/tagged/oracle-graph">Stack Overflow</a> (= questions with oracle-graph tag)<br><a href="https://join.slack.com/t/andouc/shared_invite/zt-2tjbk58ib-MLbTwXInp80nQQuX6BtL_Q">Slack AnDOUC</a> (= invitation link, please visit #graph)<br><a href="https://join.slack.com/t/oracledevrel/shared_invite/zt-uffjmwh3-ksmv2ii9YxSkc6IpbokL1g">Slack OracleDevRel</a> (= invitation link, please visit #oracle-db-graph)<br><a href="https://www.youtube.com/channel/UCZqBavfLlCuS0il6zNY696w">Youtube Channel</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdbe3d4a1248" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oracledevs/visualize-graphs-in-sql-developer-for-vs-code-bdbe3d4a1248">Visualize Graphs in SQL Developer for VS Code</a> was originally published in <a href="https://medium.com/oracledevs">Oracle Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle Spatial Routing Capabilities on Oracle Autonomous Database]]></title>
            <link>https://medium.com/oracledevs/oracle-spatial-routing-capabilities-on-oracle-autonomous-database-ddf16d140a6c?source=rss-b846cd4fb587------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddf16d140a6c</guid>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[spatial]]></category>
            <category><![CDATA[geocoding]]></category>
            <category><![CDATA[oracle-spatial]]></category>
            <category><![CDATA[routing]]></category>
            <dc:creator><![CDATA[Ramu Murakami Gutierrez]]></dc:creator>
            <pubDate>Wed, 14 May 2025 17:48:16 GMT</pubDate>
            <atom:updated>2025-05-14T18:09:52.166Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VNk490rTd-fDi70451HXYw.png" /></figure><p>In my previous blog, we discussed <a href="https://medium.com/@ramumurakamig/oracle-spatial-geocoding-for-beginners-89e33876bdff">geocoding and why it matters</a>. In this blog, we’ll go a step further by looking into routing and the different geocoding functions available to help you get from point A to point B. These functions use the road network, meaning they reflect real driving paths, not just straight-line distances. Routing is essential for enterprises looking to plan the most efficient and practical routes for deliveries, services, or logistics.</p><p>Have you ever wondered how applications can calculate the most efficient route depending on distance, traffic, or travel time? To understand each function, we will use a delivery service use case as an example.</p><blockquote>Remember: This feature is available in an <strong>Autonomous Database (both Serverless and Dedicated)</strong> via a PL/SQL API.</blockquote><p>To run all these geocoding and routing functions, you need to grant access to the user. To do so, run the following query:</p><pre>EXEC SDO_GCDR.ELOC_GRANT_ACCESS(&#39;&lt;user&gt;&#39;);</pre><p>I’ll be using Oracle Database 23ai to run the following functions, so I won’t need to include FROM DUAL in the queries.</p><p>Most of the functions covered in this blog returned results as SDO_GEOMETRY objects, a data type used in Oracle to represent spatial objects such as points, lines, and polygons. To quickly visualize these results in <a href="https://geojson.io/#map=2/0/20">geojson.io</a>, I used<a href="https://docs.oracle.com/en/database/oracle/oracle-database/23/spatl/sdo_util-to_geojson.html">SDO_UTIL.TO_GEOJSON</a>utility package to return the results in a GeoJSON format.</p><p>Here is an example of how this utility is applied:</p><pre>SELECT SDO_UTIL.TO_GEOJSON(<br>    SDO_GCDR.ELOC_DRIVE_DISTANCE_POLYGON(<br>    &#39;2300 Oracle Way, Austin, TX 78741&#39;, &#39;US&#39;, 10, &#39;mile&#39;, &#39;truck&#39;)<br>);</pre><p>Let’s get started!</p><h4>SDO_GCDR.ELOC_DRIVE_DISTANCE_POLYGON</h4><p>This function generates a polygon that represents all the areas reachable within a specific <strong><em>driving distance</em> </strong>from a given location.<strong> </strong>For example, you can use it to<strong> identify areas that can be reached within 10 miles of the warehouse </strong>— perfect for creating delivery zones.</p><pre>SELECT SDO_GCDR.ELOC_DRIVE_DISTANCE_POLYGON(<br>  &#39;2300 Oracle Way, Austin, TX 78741&#39;, -- start address/can be replace with longitude<br>  &#39;US&#39;, -- ISO 2-character country code/can be replaced with latitude<br>  10, -- distance <br>  &#39;mile&#39;, -- either mile/kilometer/km/meter <br>  &#39;truck&#39; -- type of vehicle either auto/truck<br>);<br><br>----------------------------------------------------------------------------<br>RESULT<br>MDSYS.SDO_GEOMETRY(2003, 4326, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 1), MDSYS.SDO_ORDINATE_ARRAY(-122.5051100001, 37.8621300001, -122.5048400001, 37.8619300001, -122.5184900003, 37.8329800001, -122.5150200003, 37.8308900001, -122.5122200003, 37.8317500001, -122.4949700002, 37.8323400001, -122.4783100001, 37.81792, -122.4782400001, 37.81732, -122.4775800001, 37.81101, -122.4774300001, 37.80971, -122.4774000001, 37.80953, -122.4781600001, 37.80034, -122.4783000001, 37.79996, -122.4831300002, 37.79316, -122.4993900003, 37.78635, -122.4994600003, 37.78631, -122.5099800003, 37.78326, -122.5109700004, 37.783, -122.5113000004, 37.78272, -122.5135800004, 37.77884, -122.5136200004, 37.77854, -122.5113500004, 37.77288, -122.5111600004, 37.77138, -122.5111500004, 37.77129, -122.5110400004, 37.77048, -122.5110200004, 37.77034, -122.5109600004, 37.76993, -122.5109200004, 37.7696, -122.5108200004, 37.76766, -122.5104600003, 37.76416, -122.5104400003, 37.7639, -122.5103900003, 37.76359, -122.5101900003, 37.7621199999, -122.5099400003, 37.7602499999, -122.5094600003, 37.7565399999, -122.5089800003, 37.7528299999, -122.5089700003, 37.7527699999, -122.5087300003, 37.7509099999, -122.5084900003, 37.7491099999, -122.5084800003, 37.7490399999, -122.5080200003, 37.7453799999, -122.5078400003, 37.7440099999, -122.5075300003, 37.7416499999, -122.5072900003, 37.7397899999, -122.5071800003, 37.7354899999, -122.5071800003, 37.7331999999, -122.5071600003, 37.7322599999, -122.5067000002, 37.7301899999, -122.5060200002, 37.7272499999, -122.5025900002, 37.7146199999, -122.5025000002, 37.7144799999, -122.4968100001, 37.7020699999, -122.49598, 37.69811, -122.49475, 37.69609, -122.4912, 37.69345, -122.4805999999, 37.6831300001, -122.4786999999, 37.6810700001, -122.4732399999, 37.6766200002, -122.4694599999, 37.6768000002, -122.4637899999, 37.6763600002, -122.4630199999, 37.6762000002, -122.4580299999, 37.6762700002, -122.4489499999, 37.6785900002, -122.4174399999, 37.6866800002, -122.40794, 37.6800000003, -122.40604, 37.6778800003, -122.40076, 37.6649400004, -122.40103, 37.6631100004, -122.40096, 37.6630500004, -122.39938, 37.6626600004, -122.39841, 37.6627300004, -122.38836, 37.6689900004, -122.38134, 37.6721600003, -122.38153, 37.6732500003, -122.38172, 37.6735800003, -122.38211, 37.6740900003, -122.38366, 37.6758300003, -122.38371, 37.6758800003, -122.39052, 37.6865400002, -122.39065, 37.6884100002, -122.39075, 37.6888800002, -122.39105, 37.6902100002, -122.39176, 37.6933600002, -122.38162, 37.7091800001, -122.38119, 37.7101100001, -122.38067, 37.7124300001, -122.37848, 37.7166600001, -122.36721, 37.72715, -122.36633, 37.72845, -122.37001, 37.73209, -122.37644, 37.74073, -122.38274, 37.75119, -122.3822, 37.75994, -122.38572, 37.76969, -122.38577, 37.77036, -122.38742, 37.77552, -122.38768, 37.78162, -122.38335, 37.79303, -122.38236, 37.79395, -122.38103, 37.79519, -122.37952, 37.79661, -122.37598, 37.79994, -122.37301, 37.80271, -122.36416, 37.80856, -122.36361, 37.80892, -122.3333, 37.80617, -122.3232799999, 37.80463, -122.3192999999, 37.80365, -122.3153899999, 37.80234, -122.3049199998, 37.79766, -122.3047399998, 37.79754, -122.3043499998, 37.79732, -122.3039099998, 37.79712, -122.3027399998, 37.79695, -122.3006899998, 37.79723, -122.2903999998, 37.79802, -122.2821399997, 37.79627, -122.2767899996, 37.79532, -122.2751399996, 37.79556, -122.2735199996, 37.7958000001, -122.2703099996, 37.7966500001, -122.2619099995, 37.7990700001, -122.2503799994, 37.8088600001, -122.2509099994, 37.8163900002, -122.2498899994, 37.8208400002, -122.2501799994, 37.8228500002, -122.2504399994, 37.8258400002, -122.2504399994, 37.8279100002, -122.2513399994, 37.8321000002, -122.2526899995, 37.8338400002, -122.2583599996, 37.8420400002, -122.2616799996, 37.8450100002, -122.2649299997, 37.8478700002, -122.2666599997, 37.8493800002, -122.2697899997, 37.8526000001, -122.2794099998, 37.8553000001, -122.2813599999, 37.8563400001, -122.2834099999, 37.8574800001, -122.2867799999, 37.8587600001, -122.2905599999, 37.8604000001, -122.2946, 37.86196, -122.30309, 37.86485, -122.30289, 37.86416, -122.30216, 37.86152, -122.3137, 37.84172, -122.31392, 37.84153, -122.31467, 37.84028, -122.31487, 37.83987, -122.31496, 37.83931, -122.31497, 37.83914, -122.31496, 37.8386, -122.33064, 37.82192, -122.34333, 37.82013, -122.36662, 37.82787, -122.36824, 37.83001, -122.37302, 37.83211, -122.37728, 37.82942, -122.37782, 37.82849, -122.3787, 37.82694, -122.4048, 37.80729, -122.40908, 37.80813, -122.41019, 37.80839, -122.41263, 37.80883, -122.41899, 37.81093, -122.42982, 37.80769, -122.43607, 37.80733, -122.44247, 37.80798, -122.44568, 37.8074, -122.44714, 37.80698, -122.45245, 37.80579, -122.4731900001, 37.83235, -122.47313, 37.83664, -122.47789, 37.84521, -122.47793, 37.84541, -122.47798, 37.84561, -122.47812, 37.84614, -122.47893, 37.85249, -122.47894, 37.85455, -122.47894, 37.85476, -122.47897, 37.85594, -122.47877, 37.85818, -122.47874, 37.85851, -122.48328, 37.85967, -122.48611, 37.86071, -122.48911, 37.86161, -122.4952, 37.86293, -122.4992100001, 37.86262, -122.5005000001, 37.8624400001, -122.5005700001, 37.8624300001, -122.5012000001, 37.8623400001, -122.5051100001, 37.8621300001))</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*EfQReoSvWPfqm2vZKZUVIA.png" /><figcaption>geojson.io — Map visualization of the query result’s converted to geojson for visualization purpose</figcaption></figure><h4>SDO_GCDR.ELOC_DRIVE_TIME_POLYGON</h4><p>This function generates a polygon that shows the areas reachable within a specific <strong><em>driving time</em> </strong>from a given location.<strong> </strong>For example, you can use it to<strong> identify areas that can be reached within 10 minutes of the warehouse </strong>— great for optimizing delivery logistics.</p><pre>SELECT SDO_GCDR.ELOC_DRIVE_TIME_POLYGON(<br>  &#39;2300 Oracle Way, Austin, TX 78741&#39;, -- start address/can be replace with longitude<br>  &#39;US&#39;, -- ISO 2-character country code/can be replaced with latitude<br>  10, -- time <br>  &#39;minute&#39;, -- either hour/minute/second <br>  &#39;truck&#39; -- type of vehicle either auto/truck<br>  );<br><br>----------------------------------------------------------------------------<br>RESULT<br>MDSYS.SDO_GEOMETRY(2003, 4326, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 1), MDSYS.SDO_ORDINATE_ARRAY(-122.4617400001, 37.78121, -122.45236, 37.72472, -122.45313, 37.72327, -122.45494, 37.71206, -122.45396, 37.712, -122.39176, 37.6933600001, -122.37691, 37.73274, -122.37587, 37.73492, -122.37644, 37.74073, -122.3822, 37.75994, -122.36416, 37.80856, -122.32657, 37.82192, -122.32306, 37.82225, -122.2980599999, 37.82156, -122.2975099999, 37.82654, -122.2981999999, 37.82665, -122.2987299999, 37.82653, -122.30066, 37.82611, -122.30894, 37.82459, -122.3108, 37.82433, -122.31264, 37.82405, -122.31293, 37.824, -122.31339, 37.82392, -122.31372, 37.82386, -122.31553, 37.82353, -122.31741, 37.82321, -122.31801, 37.82311, -122.31892, 37.82295, -122.3276, 37.82185, -122.32823, 37.8218, -122.32889, 37.82174, -122.32943, 37.82169, -122.34322, 37.81978, -122.37216, 37.82078, -122.41899, 37.81093, -122.43607, 37.80733, -122.44656, 37.80685, -122.44678, 37.8068, -122.45119, 37.80594, -122.4544400001, 37.80329, -122.4613700001, 37.78539, -122.4617400001, 37.78121))</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*JmM5NTaw8VKP-8g9suHlUQ.png" /><figcaption>geojson.io — Map visualization of the query result’s converted to geojson for visualization purpose</figcaption></figure><h4>SDO_GCDR.ELOC_ROUTE_DISTANCE</h4><p>This function computes the route <strong><em>distance</em></strong> between two locations. <strong>For example, you can use it to identify how far a delivery destination is from the warehouse.</strong></p><pre>SELECT SDO_GCDR.ELOC_ROUTE_DISTANCE(<br>  &#39;fastest&#39;, -- route preference, fastest/shortest/traffic<br>  &#39;mile&#39;, -- distance either mile/kilometer/km/meter<br>  &#39;2300 Oracle Way, Austin, TX 78741&#39;, -- start address/can be replace with longitude, and latitude <br>  &#39;11410 Century Oaks Terrace, Austin, TX 78758&#39;, -- end address/can be replace with longitude,, and latitude<br>  &#39;US&#39;, -- ISO 2-character country code/no need if using longitude, and latitude<br>  &#39;truck&#39; -- type of vehicle either auto/truck<br>)ROUTE_DISTANCE;<br><br>----------------------------------------------------------------------------<br>ROUTE_DISTANCE<br>13.14</pre><h4>SDO_GCDR.ELOC_ROUTE_GEOM</h4><p>This function computes the route between two locations and returns the <strong><em>geometry</em></strong> in SDO_GEOMETRY format. <strong>The results can be used to visualize the route on a map or to perform spatial analysis.</strong></p><pre>SELECT SDO_GCDR.ELOC_ROUTE_GEOM(<br>  &#39;fastest&#39;, -- route preference, fastest/shortest/traffic<br>  &#39;2300 Oracle Way, Austin, TX 78741&#39;, -- start address/can be replace with longitude, and latitude <br>  &#39;11410 Century Oaks Terrace, Austin, TX 78758&#39;, -- end address/can be replace with longitude,, and latitude<br>  &#39;US&#39;, -- ISO 2-character country code/no need if using longitude, and latitude<br>  &#39;truck&#39; -- type of vehicle either auto/truck<br>);<br><br>----------------------------------------------------------------------------<br>RESULT<br>MDSYS.SDO_GEOMETRY(2002, 4326, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1), MDSYS.SDO_ORDINATE_ARRAY(-97.722363, 30.2438674, -97.72209, 30.2443, -97.72222, 30.24435, -97.7224, 30.24441, -97.72247, 30.24443, -97.72267, 30.2445, -97.72297, 30.24459, -97.72321, 30.24465, -97.72341, 30.24469, -97.72363, 30.24472, -97.72389, 30.24474, -97.72418, 30.24475, -97.72442, 30.24476, -97.72513, 30.24478, -97.7255, 30.24479, -97.72672, 30.24482, -97.72698, 30.24482, -97.72723, 30.24483, -97.72775, 30.24484, -97.72795, 30.24485, -97.72804, 30.24485, -97.72829, 30.24486, -97.72857, 30.24487, -97.72902, 30.24488, -97.72927, 30.24488, -97.72955, 30.24489, -97.7297, 30.24489, -97.72986, 30.24489, -97.73005, 30.24489, -97.73022, 30.24488, -97.73035, 30.24486, -97.73038, 30.24485, -97.73052, 30.24505, -97.73058, 30.24515, -97.73079, 30.24541, -97.73084, 30.24546, -97.73111, 30.24567, -97.73117, 30.24572, -97.73139, 30.24591, -97.73151, 30.24601, -97.73157, 30.24606, -97.73198, 30.24638, -97.73222, 30.24657, -97.73239, 30.2467, -97.73298, 30.24716, -97.7331, 30.24725, -97.73318, 30.24731, -97.73325, 30.24736, -97.73336, 30.24744, -97.73343, 30.24749, -97.73349, 30.24753, -97.73354, 30.24756, -97.73364, 30.24761, -97.73369, 30.24763, -97.73374, 30.24765, -97.73386, 30.24769, -97.73397, 30.24772, -97.7344, 30.24783, -97.73454, 30.24791, -97.73462, 30.24796, -97.73468, 30.248, -97.73474, 30.24805, -97.7348, 30.24811, -97.73486, 30.24818, -97.73494, 30.24833, -97.73499, 30.24843, -97.73505, 30.24853, -97.73508, 30.24858, -97.73511, 30.24863, -97.73518, 30.24876, -97.7352, 30.24883, -97.73523, 30.24895, -97.73527, 30.24916, -97.73529, 30.24927, -97.73531, 30.24938, -97.73537, 30.24963, -97.73548, 30.25009, -97.73562, 30.25072, -97.73573, 30.25126, -97.73578, 30.2515, -97.7358, 30.25159, -97.73584, 30.25175, -97.73589, 30.25201, -97.73597, 30.25246, -97.73609, 30.25272, -97.73615, 30.2529, -97.73624, 30.25315, -97.73636, 30.25361, -97.73646, 30.25399, -97.73652, 30.25417, -97.73668, 30.25456, -97.73674, 30.25489, -97.7369, 30.25584, -97.73697, 30.25623, -97.73699, 30.25638, -97.73704, 30.25673, -97.73706, 30.25689, -97.73707, 30.25706, -97.73708, 30.25728, -97.73708, 30.25769, -97.73706, 30.25801, -97.73702, 30.25831, -97.737, 30.25846, -97.73698, 30.25859, -97.73696, 30.25872, -97.73693, 30.25888, -97.73689, 30.25906, -97.73686, 30.25919, -97.73682, 30.25934, -97.73678, 30.25947, -97.73673, 30.25962, -97.73667, 30.25981, -97.73651, 30.26029, -97.73632, 30.26086, -97.73622, 30.26115, -97.73614, 30.2614, -97.73573, 30.26258, -97.73552, 30.26316, -97.73529, 30.26379, -97.73522, 30.26397, -97.73519, 30.26405, -97.73517, 30.2641, -97.73482, 30.26505, -97.73456, 30.26574, -97.73429, 30.26648, -97.73421, 30.26669, -97.73388, 30.26759, -97.73386, 30.26765, -97.7337, 30.26807, -97.73343, 30.2688, -97.73319, 30.26945, -97.73296, 30.27009, -97.73284, 30.27042, -97.73277, 30.27061, -97.73271, 30.27077, -97.73264, 30.27095, -97.73258, 30.27111, -97.73243, 30.27151, -97.73231, 30.27184, -97.73212, 30.27237, -97.73198, 30.27279, -97.73188, 30.27309, -97.73177, 30.27344, -97.73167, 30.27376, -97.73158, 30.27405, -97.73145, 30.2745, -97.73139, 30.27471, -97.73134, 30.27487, -97.73125, 30.27516, -97.73117, 30.27541, -97.73112, 30.27556, -97.73107, 30.27571, -97.73101, 30.27587, -97.73092, 30.2761, -97.73087, 30.27624, -97.73082, 30.27637, -97.73076, 30.27652, -97.73071, 30.27664, -97.73066, 30.27675, -97.7306, 30.27688, -97.73053, 30.27702, -97.73026, 30.27754, -97.72987, 30.27834, -97.7298, 30.27849, -97.72977, 30.27855, -97.72974, 30.27862, -97.72964, 30.27879, -97.72953, 30.27898, -97.72937, 30.27926, -97.72895, 30.27995, -97.72813, 30.28128, -97.72775, 30.28191, -97.72765, 30.28208, -97.72733, 30.28259, -97.72723, 30.28276, -97.72707, 30.28302, -97.72699, 30.28315, -97.72644, 30.28397, -97.72628, 30.28421, -97.72595, 30.28471, -97.72542, 30.28547, -97.72483, 30.28644, -97.72475, 30.28656, -97.72399, 30.28776, -97.7237, 30.28823, -97.72339, 30.28869, -97.72311, 30.28914, -97.72277, 30.28967, -97.72238, 30.29028, -97.72206, 30.29079, -97.72124, 30.29205, -97.72068, 30.29291, -97.71946, 30.29478, -97.71889, 30.29569, -97.71857, 30.29619, -97.71836, 30.29651, -97.71818, 30.29677, -97.718, 30.29705, -97.71779, 30.29736, -97.71724, 30.29827, -97.71707, 30.29854, -97.71698, 30.29869, -97.71686, 30.29887, -97.71668, 30.29918, -97.7166, 30.29932, -97.71657, 30.29937, -97.71637, 30.2997, -97.71601, 30.30031, -97.71577, 30.30071, -97.7156, 30.301, -97.71544, 30.30128, -97.71524, 30.30163, -97.71514, 30.30179, -97.71506, 30.30194, -97.7149, 30.30224, -97.7148, 30.30239, -97.71474, 30.30249, -97.71462, 30.3027, -97.71432, 30.30317, -97.7142, 30.30334, -97.7132, 30.30491, -97.71294, 30.30532, -97.71167, 30.30731, -97.71154, 30.30751, -97.71078, 30.30863, -97.71056, 30.30895, -97.71042, 30.30916, -97.71035, 30.30925, -97.71033, 30.30929, -97.71025, 30.30942, -97.71005, 30.30974, -97.70997, 30.30987, -97.70995, 30.30991, -97.70971, 30.31029, -97.70939, 30.31088, -97.70895, 30.31176, -97.70884, 30.31199, -97.70867, 30.31236, -97.70842, 30.31293, -97.70834, 30.31312, -97.70812, 30.31374, -97.70798, 30.31416, -97.70792, 30.31438, -97.70787, 30.31455, -97.70779, 30.31482, -97.70777, 30.31491, -97.70774, 30.31505, -97.70769, 30.31525, -97.70756, 30.31604, -97.70753, 30.31622, -97.70751, 30.31633, -97.70748, 30.3165, -97.70729, 30.31786, -97.70711, 30.31911, -97.70704, 30.31958, -97.707, 30.31983, -97.70688, 30.32053, -97.70682, 30.321, -97.70676, 30.32144, -97.70672, 30.32161, -97.7067, 30.32175, -97.70666, 30.32204, -97.70664, 30.32224, -97.70659, 30.32257, -97.70658, 30.32264, -97.70656, 30.32279, -97.70647, 30.32349, -97.70629, 30.32485, -97.70624, 30.32525, -97.70619, 30.32561, -97.70611, 30.32615, -97.70602, 30.3268, -97.70594, 30.32733, -97.70591, 30.32752, -97.7058, 30.32812, -97.70574, 30.32841, -97.70567, 30.32872, -97.70562, 30.32894, -97.70555, 30.32921, -97.7055, 30.3294, -97.70537, 30.32983, -97.70527, 30.33013, -97.70515, 30.33047, -97.705, 30.33086, -97.70485, 30.33121, -97.70475, 30.33142, -97.70461, 30.33161, -97.70445, 30.33182, -97.70421, 30.33225, -97.70408, 30.33246, -97.70403, 30.33254, -97.70394, 30.33269, -97.70384, 30.33285, -97.70321, 30.33385, -97.70249, 30.33497, -97.7022, 30.33538, -97.70192, 30.33576, -97.7014, 30.33647, -97.70096, 30.33709, -97.70077, 30.33736, -97.70061, 30.3376, -97.70048, 30.33782, -97.7004, 30.33799, -97.70035, 30.33812, -97.7003, 30.33833, -97.70025, 30.3387, -97.70025, 30.33894, -97.70028, 30.33909, -97.70029, 30.33914, -97.70034, 30.33927, -97.70041, 30.3394, -97.70052, 30.33958, -97.70055, 30.33962, -97.70059, 30.33969, -97.70064, 30.33976, -97.70075, 30.33988, -97.70099, 30.34012, -97.70137, 30.34049, -97.70183, 30.34092, -97.70226, 30.34138, -97.70321, 30.34234, -97.70343, 30.34256, -97.70365, 30.34278, -97.70398, 30.34304, -97.70408, 30.34313, -97.70416, 30.34319, -97.70431, 30.34331, -97.70476, 30.34367, -97.7052, 30.34398, -97.7056, 30.34423, -97.70667, 30.34487, -97.70686, 30.34499, -97.70721, 30.34519, -97.70783, 30.34555, -97.70831, 30.3458, -97.70863, 30.34595, -97.7089, 30.34606, -97.70945, 30.34627, -97.71002, 30.34647, -97.71079, 30.34675, -97.71093, 30.3468, -97.71101, 30.34683, -97.71111, 30.34687, -97.71118, 30.3469, -97.71129, 30.34695, -97.71139, 30.347, -97.71153, 30.34708, -97.71166, 30.34716, -97.7118, 30.34725, -97.71191, 30.34732, -97.71199, 30.34738, -97.71204, 30.34742, -97.71211, 30.34748, -97.71219, 30.34755, -97.71228, 30.34763, -97.71238, 30.34772, -97.71242, 30.34776, -97.71247, 30.34781, -97.71256, 30.34792, -97.71261, 30.34798, -97.71266, 30.34805, -97.71271, 30.34812, -97.71275, 30.34818, -97.7128, 30.34826, -97.71284, 30.34833, -97.7129, 30.34843, -97.71295, 30.34852, -97.71302, 30.34866, -97.71307, 30.34877, -97.71311, 30.34887, -97.71316, 30.349, -97.71321, 30.34915, -97.71328, 30.34936, -97.71335, 30.34959, -97.71343, 30.34986, -97.71349, 30.35006, -97.71354, 30.35022, -97.71359, 30.35039, -97.71362, 30.35049, -97.71399, 30.35168, -97.71422, 30.35245, -97.71434, 30.35284, -97.71441, 30.35306, -97.71449, 30.35332, -97.71466, 30.35387, -97.71488, 30.35463, -97.71497, 30.35494, -97.71517, 30.35563, -97.71557, 30.35696, -97.71591, 30.35807, -97.7164, 30.35972, -97.71661, 30.36043, -97.71685, 30.36121, -97.71719, 30.36236, -97.71738, 30.36301, -97.71743, 30.36319, -97.71747, 30.36331, -97.71753, 30.3635, -97.71778, 30.36431, -97.71789, 30.36473, -97.71797, 30.36515, -97.71804, 30.36553, -97.71812, 30.36599, -97.71818, 30.3664, -97.7183, 30.36702, -97.71834, 30.36723, -97.71838, 30.36744, -97.71844, 30.36764, -97.71851, 30.36784, -97.71862, 30.36811, -97.71877, 30.3684, -97.7189, 30.36864, -97.71902, 30.36883, -97.71922, 30.36912, -97.71937, 30.36934, -97.71947, 30.36947, -97.71957, 30.3696, -97.71965, 30.3697, -97.71971, 30.36977, -97.71981, 30.36988, -97.71991, 30.36998, -97.72003, 30.37009, -97.72018, 30.37022, -97.72036, 30.37036, -97.72056, 30.37051, -97.72078, 30.37065, -97.72098, 30.37077, -97.72121, 30.37089, -97.72142, 30.37099, -97.72179, 30.37115, -97.72233, 30.37138, -97.72326, 30.37178, -97.72357, 30.37192, -97.72387, 30.37205, -97.72394, 30.37208, -97.72428, 30.37224, -97.7255, 30.37283, -97.72593, 30.37304, -97.72625, 30.37319, -97.72652, 30.37332, -97.72683, 30.37347, -97.72712, 30.37361, -97.72794, 30.37401, -97.72808, 30.37408, -97.72959, 30.37481, -97.73025, 30.37513, -97.73052, 30.37532, -97.73074, 30.37546, -97.73138, 30.37583, -97.73227, 30.37635, -97.73284, 30.37672, -97.73313, 30.37692, -97.73352, 30.37721, -97.73389, 30.37751, -97.73427, 30.37782, -97.73543, 30.37877, -97.73575, 30.37908, -97.73594, 30.37927, -97.73603, 30.37939, -97.73617, 30.37962, -97.73626, 30.3798, -97.73632, 30.37999, -97.73636, 30.38016, -97.73638, 30.38038, -97.73637, 30.38058, -97.73633, 30.38085, -97.73618, 30.38142, -97.73603, 30.38195, -97.73586, 30.38259, -97.73567, 30.38349, -97.73559, 30.38385, -97.73543, 30.38454, -97.73535, 30.38495, -97.7353, 30.3854, -97.73491, 30.38687, -97.73469, 30.38774, -97.73441, 30.38881, -97.73421, 30.38958, -97.73419, 30.38967, -97.73416, 30.38977, -97.73414, 30.38985, -97.73412, 30.38993, -97.73333, 30.39296, -97.73308, 30.39393, -97.73287, 30.39475, -97.73277, 30.39512, -97.73264, 30.39559, -97.73261, 30.39568, -97.73257, 30.3958, -97.73254, 30.39588, -97.73229, 30.39654, -97.73214, 30.39691, -97.73202, 30.39716, -97.73175, 30.39773, -97.73153, 30.39814, -97.73125, 30.39863, -97.73079, 30.39933, -97.7294, 30.4011, -97.72901, 30.40153, -97.72874, 30.40181, -97.72854, 30.40203, -97.72815, 30.40242, -97.72794, 30.40262, -97.72774, 30.4028, -97.72774, 30.4028))</pre><h4>SDO_GCDR.ELOC_ROUTE_TIME</h4><p>This function computes the route <strong><em>time</em></strong> between two locations. You can use it to<strong> identify how long it will take to get from the warehouse to the delivery destination.</strong></p><pre>SELECT SDO_GCDR.ELOC_ROUTE_TIME(<br>  &#39;fastest&#39;, -- route preference, fastest/shortest/traffic<br>  &#39;minute&#39;, -- time either hour/minute/second<br>  &#39;2300 Oracle Way, Austin, TX 78741&#39;, -- start address/can be replace with longitude, and latitude <br>  &#39;2015 E Riverside Dr, Austin, TX 78741&#39;, -- end address/can be replace with longitude,, and latitude<br>  &#39;US&#39;, -- ISO 2-character country code/no need if using longitude, and latitude<br>  &#39;truck&#39; -- type of vehicle either auto/truck<br>)ROUTE_TIME;<br><br>----------------------------------------------------------------------------<br>ROUTE_TIME<br>13.64</pre><h4>SDO_GCDR.ELOC_ROUTE</h4><p>This function combines the previous functions since it computes the route between two locations and returns <strong><em>route distance, time</em></strong>, <strong><em>and geometry</em></strong> in JSON format. You can answer questions like: <strong>What is the fastest route from the warehouse to a specific customer address? How long will it take, and how far is it in miles?</strong></p><pre>SELECT SDO_GCDR.ELOC_ROUTE(<br>  &#39;fastest&#39;, -- route preference, fastest/shortest/traffic<br>  &#39;mile&#39;, -- distance either mile/kilometer/km/meter<br>  &#39;minute&#39;, -- time either hour/minute/second<br>  &#39;2300 Oracle Way, Austin, TX 78741&#39;, -- start address/can be replace with longitude, and latitude <br>  &#39;11410 Century Oaks Terrace, Austin, TX 78758&#39;, -- end address/can be replace with longitude,, and latitude<br>  &#39;US&#39;, -- ISO 2-character country code/no need if using longitude, and latitude<br>  &#39;truck&#39; -- type of vehicle either auto/truck<br>);<br><br>----------------------------------------------------------------------------<br>RESULT<br>{&quot;routeResponse&quot;:{&quot;route&quot;:{&quot;id&quot;:&quot;1&quot;,&quot;distance&quot;:13.14,&quot;distanceUnit&quot;:&quot;mile&quot;,&quot;time&quot;:13.64,&quot;timeUnit&quot;:&quot;minute&quot;,&quot;geometry&quot;:{&quot;type&quot;:&quot;LineString&quot;,&quot;coordinates&quot;:[[-97.722363,30.2438674],[-97.72209,30.2443],[-97.72222,30.24435],[-97.7224,30.24441],[-97.72247,30.24443],[-97.72267,30.2445],[-97.72297,30.24459],[-97.72321,30.24465],[-97.72341,30.24469],[-97.72363,30.24472],[-97.72389,30.24474],[-97.72418,30.24475],[-97.72442,30.24476],[-97.72513,30.24478],[-97.7255,30.24479],[-97.72672,30.24482],[-97.72698,30.24482],[-97.72723,30.24483],[-97.72775,30.24484],[-97.72795,30.24485],[-97.72804,30.24485],[-97.72829,30.24486],[-97.72857,30.24487],[-97.72902,30.24488],[-97.72927,30.24488],[-97.72955,30.24489],[-97.7297,30.24489],[-97.72986,30.24489],[-97.73005,30.24489],[-97.73022,30.24488],[-97.73035,30.24486],[-97.73038,30.24485],[-97.73052,30.24505],[-97.73058,30.24515],[-97.73079,30.24541],[-97.73084,30.24546],[-97.73111,30.24567],[-97.73117,30.24572],[-97.73139,30.24591],[-97.73151,30.24601],[-97.73157,30.24606],[-97.73198,30.24638],[-97.73222,30.24657],[-97.73239,30.2467],[-97.73298,30.24716],[-97.7331,30.24725],[-97.73318,30.24731],[-97.73325,30.24736],[-97.73336,30.24744],[-97.73343,30.24749],[-97.73349,30.24753],[-97.73354,30.24756],[-97.73364,30.24761],[-97.73369,30.24763],[-97.73374,30.24765],[-97.73386,30.24769],[-97.73397,30.24772],[-97.7344,30.24783],[-97.73454,30.24791],[-97.73462,30.24796],[-97.73468,30.248],[-97.73474,30.24805],[-97.7348,30.24811],[-97.73486,30.24818],[-97.73494,30.24833],[-97.73499,30.24843],[-97.73505,30.24853],[-97.73508,30.24858],[-97.73511,30.24863],[-97.73518,30.24876],[-97.7352,30.24883],[-97.73523,30.24895],[-97.73527,30.24916],[-97.73529,30.24927],[-97.73531,30.24938],[-97.73537,30.24963],[-97.73548,30.25009],[-97.73562,30.25072],[-97.73573,30.25126],[-97.73578,30.2515],[-97.7358,30.25159],[-97.73584,30.25175],[-97.73589,30.25201],[-97.73597,30.25246],[-97.73609,30.25272],[-97.73615,30.2529],[-97.73624,30.25315],[-97.73636,30.25361],[-97.73646,30.25399],[-97.73652,30.25417],[-97.73668,30.25456],[-97.73674,30.25489],[-97.7369,30.25584],[-97.73697,30.25623],[-97.73699,30.25638],[-97.73704,30.25673],[-97.73706,30.25689],[-97.73707,30.25706],[-97.73708,30.25728],[-97.73708,30.25769],[-97.73706,30.25801],[-97.73702,30.25831],[-97.737,30.25846],[-97.73698,30.25859],[-97.73696,30.25872],[-97.73693,30.25888],[-97.73689,30.25906],[-97.73686,30.25919],[-97.73682,30.25934],[-97.73678,30.25947],[-97.73673,30.25962],[-97.73667,30.25981],[-97.73651,30.26029],[-97.73632,30.26086],[-97.73622,30.26115],[-97.73614,30.2614],[-97.73573,30.26258],[-97.73552,30.26316],[-97.73529,30.26379],[-97.73522,30.26397],[-97.73519,30.26405],[-97.73517,30.2641],[-97.73482,30.26505],[-97.73456,30.26574],[-97.73429,30.26648],[-97.73421,30.26669],[-97.73388,30.26759],[-97.73386,30.26765],[-97.7337,30.26807],[-97.73343,30.2688],[-97.73319,30.26945],[-97.73296,30.27009],[-97.73284,30.27042],[-97.73277,30.27061],[-97.73271,30.27077],[-97.73264,30.27095],[-97.73258,30.27111],[-97.73243,30.27151],[-97.73231,30.27184],[-97.73212,30.27237],[-97.73198,30.27279],[-97.73188,30.27309],[-97.73177,30.27344],[-97.73167,30.27376],[-97.73158,30.27405],[-97.73145,30.2745],[-97.73139,30.27471],[-97.73134,30.27487],[-97.73125,30.27516],[-97.73117,30.27541],[-97.73112,30.27556],[-97.73107,30.27571],[-97.73101,30.27587],[-97.73092,30.2761],[-97.73087,30.27624],[-97.73082,30.27637],[-97.73076,30.27652],[-97.73071,30.27664],[-97.73066,30.27675],[-97.7306,30.27688],[-97.73053,30.27702],[-97.73026,30.27754],[-97.72987,30.27834],[-97.7298,30.27849],[-97.72977,30.27855],[-97.72974,30.27862],[-97.72964,30.27879],[-97.72953,30.27898],[-97.72937,30.27926],[-97.72895,30.27995],[-97.72813,30.28128],[-97.72775,30.28191],[-97.72765,30.28208],[-97.72733,30.28259],[-97.72723,30.28276],[-97.72707,30.28302],[-97.72699,30.28315],[-97.72644,30.28397],[-97.72628,30.28421],[-97.72595,30.28471],[-97.72542,30.28547],[-97.72483,30.28644],[-97.72475,30.28656],[-97.72399,30.28776],[-97.7237,30.28823],[-97.72339,30.28869],[-97.72311,30.28914],[-97.72277,30.28967],[-97.72238,30.29028],[-97.72206,30.29079],[-97.72124,30.29205],[-97.72068,30.29291],[-97.71946,30.29478],[-97.71889,30.29569],[-97.71857,30.29619],[-97.71836,30.29651],[-97.71818,30.29677],[-97.718,30.29705],[-97.71779,30.29736],[-97.71724,30.29827],[-97.71707,30.29854],[-97.71698,30.29869],[-97.71686,30.29887],[-97.71668,30.29918],[-97.7166,30.29932],[-97.71657,30.29937],[-97.71637,30.2997],[-97.71601,30.30031],[-97.71577,30.30071],[-97.7156,30.301],[-97.71544,30.30128],[-97.71524,30.30163],[-97.71514,30.30179],[-97.71506,30.30194],[-97.7149,30.30224],[-97.7148,30.30239],[-97.71474,30.30249],[-97.71462,30.3027],[-97.71432,30.30317],[-97.7142,30.30334],[-97.7132,30.30491],[-97.71294,30.30532],[-97.71167,30.30731],[-97.71154,30.30751],[-97.71078,30.30863],[-97.71056,30.30895],[-97.71042,30.30916],[-97.71035,30.30925],[-97.71033,30.30929],[-97.71025,30.30942],[-97.71005,30.30974],[-97.70997,30.30987],[-97.70995,30.30991],[-97.70971,30.31029],[-97.70939,30.31088],[-97.70895,30.31176],[-97.70884,30.31199],[-97.70867,30.31236],[-97.70842,30.31293],[-97.70834,30.31312],[-97.70812,30.31374],[-97.70798,30.31416],[-97.70792,30.31438],[-97.70787,30.31455],[-97.70779,30.31482],[-97.70777,30.31491],[-97.70774,30.31505],[-97.70769,30.31525],[-97.70756,30.31604],[-97.70753,30.31622],[-97.70751,30.31633],[-97.70748,30.3165],[-97.70729,30.31786],[-97.70711,30.31911],[-97.70704,30.31958],[-97.707,30.31983],[-97.70688,30.32053],[-97.70682,30.321],[-97.70676,30.32144],[-97.70672,30.32161],[-97.7067,30.32175],[-97.70666,30.32204],[-97.70664,30.32224],[-97.70659,30.32257],[-97.70658,30.32264],[-97.70656,30.32279],[-97.70647,30.32349],[-97.70629,30.32485],[-97.70624,30.32525],[-97.70619,30.32561],[-97.70611,30.32615],[-97.70602,30.3268],[-97.70594,30.32733],[-97.70591,30.32752],[-97.7058,30.32812],[-97.70574,30.32841],[-97.70567,30.32872],[-97.70562,30.32894],[-97.70555,30.32921],[-97.7055,30.3294],[-97.70537,30.32983],[-97.70527,30.33013],[-97.70515,30.33047],[-97.705,30.33086],[-97.70485,30.33121],[-97.70475,30.33142],[-97.70461,30.33161],[-97.70445,30.33182],[-97.70421,30.33225],[-97.70408,30.33246],[-97.70403,30.33254],[-97.70394,30.33269],[-97.70384,30.33285],[-97.70321,30.33385],[-97.70249,30.33497],[-97.7022,30.33538],[-97.70192,30.33576],[-97.7014,30.33647],[-97.70096,30.33709],[-97.70077,30.33736],[-97.70061,30.3376],[-97.70048,30.33782],[-97.7004,30.33799],[-97.70035,30.33812],[-97.7003,30.33833],[-97.70025,30.3387],[-97.70025,30.33894],[-97.70028,30.33909],[-97.70029,30.33914],[-97.70034,30.33927],[-97.70041,30.3394],[-97.70052,30.33958],[-97.70055,30.33962],[-97.70059,30.33969],[-97.70064,30.33976],[-97.70075,30.33988],[-97.70099,30.34012],[-97.70137,30.34049],[-97.70183,30.34092],[-97.70226,30.34138],[-97.70321,30.34234],[-97.70343,30.34256],[-97.70365,30.34278],[-97.70398,30.34304],[-97.70408,30.34313],[-97.70416,30.34319],[-97.70431,30.34331],[-97.70476,30.34367],[-97.7052,30.34398],[-97.7056,30.34423],[-97.70667,30.34487],[-97.70686,30.34499],[-97.70721,30.34519],[-97.70783,30.34555],[-97.70831,30.3458],[-97.70863,30.34595],[-97.7089,30.34606],[-97.70945,30.34627],[-97.71002,30.34647],[-97.71079,30.34675],[-97.71093,30.3468],[-97.71101,30.34683],[-97.71111,30.34687],[-97.71118,30.3469],[-97.71129,30.34695],[-97.71139,30.347],[-97.71153,30.34708],[-97.71166,30.34716],[-97.7118,30.34725],[-97.71191,30.34732],[-97.71199,30.34738],[-97.71204,30.34742],[-97.71211,30.34748],[-97.71219,30.34755],[-97.71228,30.34763],[-97.71238,30.34772],[-97.71242,30.34776],[-97.71247,30.34781],[-97.71256,30.34792],[-97.71261,30.34798],[-97.71266,30.34805],[-97.71271,30.34812],[-97.71275,30.34818],[-97.7128,30.34826],[-97.71284,30.34833],[-97.7129,30.34843],[-97.71295,30.34852],[-97.71302,30.34866],[-97.71307,30.34877],[-97.71311,30.34887],[-97.71316,30.349],[-97.71321,30.34915],[-97.71328,30.34936],[-97.71335,30.34959],[-97.71343,30.34986],[-97.71349,30.35006],[-97.71354,30.35022],[-97.71359,30.35039],[-97.71362,30.35049],[-97.71399,30.35168],[-97.71422,30.35245],[-97.71434,30.35284],[-97.71441,30.35306],[-97.71449,30.35332],[-97.71466,30.35387],[-97.71488,30.35463],[-97.71497,30.35494],[-97.71517,30.35563],[-97.71557,30.35696],[-97.71591,30.35807],[-97.7164,30.35972],[-97.71661,30.36043],[-97.71685,30.36121],[-97.71719,30.36236],[-97.71738,30.36301],[-97.71743,30.36319],[-97.71747,30.36331],[-97.71753,30.3635],[-97.71778,30.36431],[-97.71789,30.36473],[-97.71797,30.36515],[-97.71804,30.36553],[-97.71812,30.36599],[-97.71818,30.3664],[-97.7183,30.36702],[-97.71834,30.36723],[-97.71838,30.36744],[-97.71844,30.36764],[-97.71851,30.36784],[-97.71862,30.36811],[-97.71877,30.3684],[-97.7189,30.36864],[-97.71902,30.36883],[-97.71922,30.36912],[-97.71937,30.36934],[-97.71947,30.36947],[-97.71957,30.3696],[-97.71965,30.3697],[-97.71971,30.36977],[-97.71981,30.36988],[-97.71991,30.36998],[-97.72003,30.37009],[-97.72018,30.37022],[-97.72036,30.37036],[-97.72056,30.37051],[-97.72078,30.37065],[-97.72098,30.37077],[-97.72121,30.37089],[-97.72142,30.37099],[-97.72179,30.37115],[-97.72233,30.37138],[-97.72326,30.37178],[-97.72357,30.37192],[-97.72387,30.37205],[-97.72394,30.37208],[-97.72428,30.37224],[-97.7255,30.37283],[-97.72593,30.37304],[-97.72625,30.37319],[-97.72652,30.37332],[-97.72683,30.37347],[-97.72712,30.37361],[-97.72794,30.37401],[-97.72808,30.37408],[-97.72959,30.37481],[-97.73025,30.37513],[-97.73052,30.37532],[-97.73074,30.37546],[-97.73138,30.37583],[-97.73227,30.37635],[-97.73284,30.37672],[-97.73313,30.37692],[-97.73352,30.37721],[-97.73389,30.37751],[-97.73427,30.37782],[-97.73543,30.37877],[-97.73575,30.37908],[-97.73594,30.37927],[-97.73603,30.37939],[-97.73617,30.37962],[-97.73626,30.3798],[-97.73632,30.37999],[-97.73636,30.38016],[-97.73638,30.38038],[-97.73637,30.38058],[-97.73633,30.38085],[-97.73618,30.38142],[-97.73603,30.38195],[-97.73586,30.38259],[-97.73567,30.38349],[-97.73559,30.38385],[-97.73543,30.38454],[-97.73535,30.38495],[-97.7353,30.3854],[-97.73491,30.38687],[-97.73469,30.38774],[-97.73441,30.38881],[-97.73421,30.38958],[-97.73419,30.38967],[-97.73416,30.38977],[-97.73414,30.38985],[-97.73412,30.38993],[-97.73333,30.39296],[-97.73308,30.39393],[-97.73287,30.39475],[-97.73277,30.39512],[-97.73264,30.39559],[-97.73261,30.39568],[-97.73257,30.3958],[-97.73254,30.39588],[-97.73229,30.39654],[-97.73214,30.39691],[-97.73202,30.39716],[-97.73175,30.39773],[-97.73153,30.39814],[-97.73125,30.39863],[-97.73079,30.39933],[-97.7294,30.4011],[-97.72901,30.40153],[-97.72874,30.40181],[-97.72854,30.40203],[-97.72815,30.40242],[-97.72794,30.40262],[-97.72774,30.4028],[-97.72774,30.4028]]}}}}</pre><p>The fastest route is 13.14 miles, and it takes 13.64 minutes (13 minutes and 38 seconds) to get to that specific customer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*o6ZmG75CSNE1JKntPY0xYA.png" /><figcaption>geojson.io — Map visualization of the query result’s converted to geojson for visualization purpose</figcaption></figure><p>Oracle Spatial has other useful geocoding functions. Check out <a href="https://docs.oracle.com/en/database/oracle/oracle-database/23/spatl/sdo_gcdr-package-geocoding.html">this list!</a></p><p><a href="https://medium.com/tag/oracle-spatial">Medium</a> (= all articles with Oracle Spatial tag)<br><a href="https://stackoverflow.com/questions/tagged/oracle-spatial">Stack Overflow</a> (= questions with oracle-spatial tag)<br><a href="https://join.slack.com/t/andouc/shared_invite/zt-2tjbk58ib-MLbTwXInp80nQQuX6BtL_Q">Slack AnDOUC</a> (= invitation link, please visit #spatial)<br><a href="https://join.slack.com/t/oracledevrel/shared_invite/zt-uffjmwh3-ksmv2ii9YxSkc6IpbokL1g">Slack OracleDevRel</a> (= invitation link, please visit #oracle-db-spatial)<br><a href="https://www.youtube.com/channel/UCZqBavfLlCuS0il6zNY696w">Youtube Channel</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddf16d140a6c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oracledevs/oracle-spatial-routing-capabilities-on-oracle-autonomous-database-ddf16d140a6c">Oracle Spatial Routing Capabilities on Oracle Autonomous Database</a> was originally published in <a href="https://medium.com/oracledevs">Oracle Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Geocodificación con Oracle Spatial para principiantes]]></title>
            <link>https://medium.com/oracledevs/geocodificaci%C3%B3n-con-oracle-spatial-para-principiantes-a7e774c1a649?source=rss-b846cd4fb587------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7e774c1a649</guid>
            <category><![CDATA[geocodificacion]]></category>
            <category><![CDATA[oracle-spatial]]></category>
            <category><![CDATA[ubicación]]></category>
            <category><![CDATA[base-de-datos]]></category>
            <dc:creator><![CDATA[Ramu Murakami Gutierrez]]></dc:creator>
            <pubDate>Tue, 08 Apr 2025 18:15:24 GMT</pubDate>
            <atom:updated>2025-05-06T22:51:38.498Z</atom:updated>
            <content:encoded><![CDATA[<p>¿Alguna vez escribiste una dirección en un GPS y viste cómo aparecía instantáneamente un pin en la ubicación exacta? ¡Eso es geocodificación!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wQvWeJE6DTtfb4O_sSSuqw.png" /></figure><h3><strong>Qué es la geocodificación y por qué es importante?</strong></h3><p>La geocodificación convierte una dirección o nombre de lugar en coordenadas geográficas, es decir, latitud y longitud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*vp9mraDRzFA8QxFB7chXbA.png" /></figure><p>Convertir direcciones en coordenadas permite obtener ubicaciones precisas en un mapa. Este proceso tiene múltiples casos de uso. Aquí te comparto tres:</p><ul><li><strong>Navegación y servicios basados en ubicación:</strong> Esto incluye aplicaciones GPS, optimización de rutas y experiencias o recomendaciones personalizadas según la ubicación del usuario.</li><li><strong>Optimización empresarial y logística:</strong> Optimizar rutas de entrega y verificar direcciones de clientes ayuda a reducir costos. También es útil para análisis de mercado y ubicación de tiendas.</li><li><strong>Emergencias y seguridad pública:</strong> Ayuda a localizar rápidamente incidentes para servicios de emergencia y respuesta ante desastres. También contribuye a la planificación urbana para desarrollar ciudades más inteligentes.</li></ul><p>También existe la opción de realizar geocodificación inversa. Con la <strong>geocodificación inversa</strong>, convertimos coordenadas en una dirección.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*wpdIw_3rVX2xODohYO993g.png" /></figure><h3><strong>Geocodificación con Oracle Spatial</strong></h3><p>Oracle Spatial es una funcionalidad de Oracle Database. Permite almacenar, consultar y gestionar datos geoespaciales y de ubicación dentro de la base de datos, e incluye APIs y herramientas para trabajar con estos datos.</p><p>Entre estas funcionalidades se encuentra la geocodificación. Puedes geocodificar una dirección o realizar geocodificación inversa. También puedes convertir tablas completas de direcciones en bloque y guardar los datos de longitud y latitud en columnas de una tabla de base de datos.</p><p>Esta funcionalidad está disponible en <strong>Autonomous Database</strong> (tanto en modalidad Serverless como Dedicated) mediante una API en PL/SQL. Cualquier aplicación que desarrolles o producto que uses (como Oracle Analytics Cloud) con Autonomous Database puede acceder a esta API. De forma alternativa, la geocodificación también está disponible en bases de datos que <strong>no son Autonomous</strong>, si usas <strong>Spatial Studio</strong> o <strong>APEX</strong> con cualquier base de datos. (Para otros entornos de despliegue, también puedes usar datos de referencia externos, como los de <strong>HERE</strong> o <strong>TomTom</strong>, para usar esta función).</p><p>Para principiantes, <strong>Spatial Studio y APEX</strong> son las maneras más sencillas de comenzar a usar la geocodificación!</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DcNTpYqMdnbk&amp;type=text%2Fhtml&amp;schema=youtube&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FcNTpYqMdnbk%3Ffeature%3Doembed" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0b696dafbddfd44e78c264e39bc85f94/href">https://medium.com/media/0b696dafbddfd44e78c264e39bc85f94/href</a></iframe><h3><strong>Recursos sobre geocodificación</strong></h3><p>Aquí tienes algunos recursos útiles, incluyendo un ejemplo de mi colega <a href="https://medium.com/u/79501b7de056">Karin Patenge</a> sobre cómo usar la API de geocodificación y un ejemplo de cómo funciona la geocodificación con APEX.</p><p><a href="https://blogs.oracle.com/oraclespatial/post/new-in-database-geocoder-for-autonomous-database-shared">Now available: Geocoding API in Oracle Autonomous Database Serverless</a> (Blog)</p><p><a href="https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/run-workshop?p210_wid=3641&amp;session=1300223236446">How do I geocode addresses in the Autonomous Database?</a> (LiveLabs Sprint)</p><p><a href="https://apex.oracle.com/pls/apex/r/gamma_dev/demo/geocoding">Geocodificador (Aplicación APEX)</a></p><p><a href="https://docs.oracle.com/en/database/oracle/oracle-database/23/spatl/geocoding.html">Documentación de geocodificación</a></p><p><a href="https://medium.com/tag/oracle-spatial">Medium</a> (= todos los artículos con la etiqueta Oracle Spatial tag)<br><a href="https://stackoverflow.com/questions/tagged/oracle-spatial">Stack Overflow</a> (= preguntas con etiqueta oracle-spatial tag)<br><a href="https://join.slack.com/t/andouc/shared_invite/zt-2tjbk58ib-MLbTwXInp80nQQuX6BtL_Q">Slack AnDOUC</a> (= enlace de invitación, visita #spatial)<br><a href="https://join.slack.com/t/oracledevrel/shared_invite/zt-uffjmwh3-ksmv2ii9YxSkc6IpbokL1g">Slack OracleDevRel</a> (= enlace de invitación, visita #oracle-db-spatial)<br><a href="https://www.youtube.com/channel/UCZqBavfLlCuS0il6zNY696w">Youtube Channel</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7e774c1a649" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oracledevs/geocodificaci%C3%B3n-con-oracle-spatial-para-principiantes-a7e774c1a649">Geocodificación con Oracle Spatial para principiantes</a> was originally published in <a href="https://medium.com/oracledevs">Oracle Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle Spatial Geocoding for Beginners]]></title>
            <link>https://medium.com/oracledevs/oracle-spatial-geocoding-for-beginners-89e33876bdff?source=rss-b846cd4fb587------2</link>
            <guid isPermaLink="false">https://medium.com/p/89e33876bdff</guid>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[oracle-spatial]]></category>
            <category><![CDATA[geocoding]]></category>
            <category><![CDATA[geocoding-api]]></category>
            <category><![CDATA[location]]></category>
            <dc:creator><![CDATA[Ramu Murakami Gutierrez]]></dc:creator>
            <pubDate>Mon, 10 Mar 2025 15:10:42 GMT</pubDate>
            <atom:updated>2025-05-06T22:57:54.434Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you typed an address in a GPS and instantly seen a pin drop on the exact location? That&#39;s geocoding!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wQvWeJE6DTtfb4O_sSSuqw.png" /></figure><h3>What is Geocoding, and why does it matter?</h3><p>Geocoding converts an address or place name into geographical coordinates, latitude, and longitude.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*vp9mraDRzFA8QxFB7chXbA.png" /></figure><p>Converting user-friendly addresses into coordinates allows us to get the precise location on a map. This process has various use cases; here are 3 of them:</p><ol><li><strong>Navigation and Location-Based Services:</strong> These include GPS applications, route optimization, and personalized experiences and recommendations based on the user&#39;s location.</li><li><strong>Business and Logistics Optimization: </strong>Optimizing delivery routes and verifying customer addresses can help improve costs. This also helps with market analysis for store placements.</li><li><strong>Emergency and Public Safety</strong>: Helps locate incidents quickly for emergency services and disaster responders. It also helps with urban planning for smarter infrastructure and city development.</li></ol><p>The option to reverse geocode is also available. With <strong>reverse geocoding</strong>, we convert coordinates into an address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*wpdIw_3rVX2xODohYO993g.png" /></figure><h3>Geocoding with Oracle Spatial</h3><p>Oracle Spatial is a feature of Oracle Database. It lets you store, query, and manage geospatial and location data in the Oracle database and includes APIs and tools to work with that data.</p><p>Included in this set of features is geocoding. You can geocode an address and perform reverse geocoding. You can convert entire tables of addresses in bulk and store the longitude and latitude data in database table columns. This feature is available in <strong>Autonomous Database (both Serverless and Dedicated)</strong> via a PL/SQL API. Any application you develop, or product you use (such as Oracle Analytics Cloud) with Autonomous Database has access to this API. Alternatively, geocoding is available even if your database is not Autonomous if you use either <strong>Spatial Studio</strong> or <strong>APEX</strong> with any database. (For all other deployments, you can use external reference data, such as from HERE and TomTom, to use the geocoding feature.) For beginners, Spatial Studio and APEX are the easiest ways to start with geocoding!</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DcNTpYqMdnbk&amp;type=text%2Fhtml&amp;schema=youtube&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FcNTpYqMdnbk%3Ffeature%3Doembed" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0b696dafbddfd44e78c264e39bc85f94/href">https://medium.com/media/0b696dafbddfd44e78c264e39bc85f94/href</a></iframe><h3>Geocoding Resources</h3><p>Here are some useful resources, including an example from my colleague <a href="https://medium.com/u/79501b7de056">Karin Patenge</a> on how to use the Geocoding API and an example of how geocoding works with APEX.</p><p><a href="https://blogs.oracle.com/oraclespatial/post/new-in-database-geocoder-for-autonomous-database-shared">Now available: Geocoding API in Oracle Autonomous Database Serverless</a> (Blog)</p><p><a href="https://apexapps.oracle.com/pls/apex/r/dbpm/livelabs/run-workshop?p210_wid=3641&amp;session=1300223236446">How do I geocode addresses in the Autonomous Database?</a> (LiveLabs Sprint)</p><p><a href="https://apex.oracle.com/pls/apex/r/gamma_dev/demo/geocoding">Geocoding APEX Application</a></p><p><a href="https://docs.oracle.com/en/database/oracle/oracle-database/23/spatl/geocoding.html">Geocoding documentation</a></p><p><a href="https://medium.com/tag/oracle-spatial">Medium</a> (= all articles with Oracle Spatial tag)<br><a href="https://stackoverflow.com/questions/tagged/oracle-spatial">Stack Overflow</a> (= questions with oracle-spatial tag)<br><a href="https://join.slack.com/t/andouc/shared_invite/zt-2tjbk58ib-MLbTwXInp80nQQuX6BtL_Q">Slack AnDOUC</a> (= invitation link, please visit #spatial)<br><a href="https://join.slack.com/t/oracledevrel/shared_invite/zt-uffjmwh3-ksmv2ii9YxSkc6IpbokL1g">Slack OracleDevRel</a> (= invitation link, please visit #oracle-db-spatial)<br><a href="https://www.youtube.com/channel/UCZqBavfLlCuS0il6zNY696w">Youtube Channel</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89e33876bdff" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oracledevs/oracle-spatial-geocoding-for-beginners-89e33876bdff">Oracle Spatial Geocoding for Beginners</a> was originally published in <a href="https://medium.com/oracledevs">Oracle Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ejecuta algoritmos de grafos en Jupyter Notebook]]></title>
            <link>https://medium.com/oracledevs/ejecuta-algoritmos-de-grafos-en-jupyter-notebook-0621f9b5c9cc?source=rss-b846cd4fb587------2</link>
            <guid isPermaLink="false">https://medium.com/p/0621f9b5c9cc</guid>
            <category><![CDATA[oracle-graph]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[graph]]></category>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[graph-algorithms]]></category>
            <dc:creator><![CDATA[Ramu Murakami Gutierrez]]></dc:creator>
            <pubDate>Mon, 03 Feb 2025 16:09:32 GMT</pubDate>
            <atom:updated>2025-05-06T22:59:13.772Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*DYPK15lHTQ6dD6cT.png" /></figure><p>Las aristas cuentan historias, los nodos guardan secretos: sigue las historias para encontrar los secretos.</p><p>¡Oracle Graph tiene <a href="https://github.com/oracle-samples/pgx-samples/tree/master/built-in-algorithms">más de 80 algoritmos</a> disponibles!</p><p>En blogs anteriores, hemos cubierto cómo <a href="https://medium.com/oracledevs/get-started-with-oracle-graph-using-sql-developer-e5ccbd61c9fb">crear y ejecutar consultas de grafos</a> y <a href="https://medium.com/oracledevs/visualizing-graphs-in-oracle-graph-6159c8ce2491">visualizar grafos</a>. En este blog desbloquearemos el poder de ejecutar algoritmos de grafos utilizando Oracle Graph en Jupyter Notebook.</p><p>SQL y PGQL se usan para consultar grafos en Oracle Database. Con Oracle Database 23ai, puedes ejecutar consultas de grafos usando SQL o PGQL (si estás comenzando con grafos en 23ai, probablemente usarás SQL), mientras que en 19c y versiones anteriores, solo se admite PGQL. En este blog, cubriremos ambos ejemplos.</p><p>Usaremos el grafo creado en <a href="https://medium.com/oracledevs/get-started-with-oracle-graph-using-sql-developer-e5ccbd61c9fb">este blog</a>. Para seguir estos pasos, asegúrate de tener <a href="https://www.python.org/downloads/">Python 3.9.0</a> o superior y <a href="https://jupyter.org/install">Jupyter</a> instalados en la misma máquina. Además, instalaremos Oracle Graph Client para ejecutar algoritmos de grafos en Oracle Graph Server. Para ello, el grafo se cargará desde la base de datos al Graph Server.</p><p>¡Comencemos!</p><h4>Instalar Oracle Graph Client</h4><p>1. Oracle Graph Client está disponible en PyPI. Para instalarlo, ejecuta el siguiente comando en tu terminal. ¡Es fácil y sencillo!</p><pre>pip install oracle-graph-client</pre><p>¡Ahora estamos listos para la parte divertida!</p><h4>Abre Jupyter Notebook y ejecuta algoritmos de grafos</h4><p>Es hora de abrir <a href="https://docs.jupyter.org/en/latest/running.html">Jupyter Notebook</a>. Una vez abierto, crea un nuevo notebook de Python.</p><ol><li>Ejecuta el siguiente párrafo para importar nuestros paquetes de Oracle PGX (Parallel Graph AnalytiX).</li></ol><pre>import getpass # Obtener la contraseña del usuario de forma segura<br>import opg4py # API de Python de Oracle PGX para análisis de grafos<br>import pypgx.pg.rdbms.graph_server as graph_server # Gestiona el servidor de grafos en Oracle RDBMS<br>from pypgx import setloglevel # Establece el nivel de registro en PGX</pre><p>2. Ahora, crea la conexión a la base de datos. El nombre de usuario, la contraseña y el nombre del grafo distinguen entre mayúsculas y minúsculas.</p><pre>setloglevel(&#39;ROOT&#39;, &#39;OFF&#39;) # Asegura que el script se ejecute sin producir registros innecesarios<br>base_url = &quot;&lt;http://localhost:7007&gt;&quot; # Generalmente definido en la configuración del servidor<br>username = &#39;&lt;usuario habilitado para grafos&gt;&#39;<br>password = &#39;&lt;contraseña&gt;&#39;<br>graph_name = &quot;bank_graph&quot; # Grafo específico con el que deseas trabajar<br>jdbc_connection_string = &#39;&lt;jdbc:oracle:thin:@//host:port/service_name&gt;&#39; # Para conectarte a tu base de datos</pre><p>Ingresa la contraseña del usuario del grafo cuando se te solicite.</p><p>3. El siguiente paso es crear una sesión en el Graph Server. Este paso te permite visualizar el grafo en Graph Visualization. ¡Mostraremos los pasos en la sección adicional!</p><pre>db_connection = opg4py.pgql.get_connection(username, password, jdbc_connection_string).get_jdbc_connection() #Establece conexión JDBC con la base de datos<br>instance = graph_server.get_instance(base_url, username, password) #Conexión a PGX<br>session = instance.create_session(&quot;python_pgx_client&quot;) #Crea una nueva sesión en el servidor PGX<br>analyst = session.create_analyst() #Crea un objeto de analista dentro de la sesión<br>print(session) #Imprime el objeto de sesión y proporciona detalles</pre><p>Esta información te permite visualizar el grafo en Graph Visualization. ¡Mostraremos los pasos en la sección adicional! Aquí tienes un ejemplo de cómo se devolverán estos detalles.</p><pre>PgxSession(id: &lt;session id&gt;, name: python_pgx_client)</pre><p>4. Para ejecutar algoritmos de grafos usando un grafo SQL, necesitamos cargar el grafo en memoria. Para hacerlo, ejecuta el siguiente párrafo.</p><pre># Intenta obtener el grafo del servidor de grafos en memoria<br>graph = session.get_graph(graph_name)<br># Si no existe, cárgalo en la memoria del servidor de grafos.<br>if (graph == None) :<br>    session.read_graph_by_name(graph_name, &quot;pg_sql&quot;)<br>    print(&quot;Graph &quot;+ graph_name + &quot; successfully loaded&quot;)<br>    graph = session.get_graph(graph_name)<br>else :<br>    print(&quot;Graph &#39;&quot;+ graph_name + &quot;&#39; already loaded&quot;)</pre><blockquote>Si estás utilizando un grafo PGQL, ejecuta este párrafo en su lugar:</blockquote><pre># Intenta obtener el grafo del servidor de grafos en memoria<br>graph = session.get_graph(graph_name)<br># Si no existe, cárgalo en la memoria del servidor de grafos.<br>if (graph == None) :<br>    session.read_graph_by_name(graph_name, &quot;pg_pgql&quot;)<br>    print(&quot;Graph &quot;+ graph_name+ &quot; successfully loaded&quot;)<br>    graph = session.get_graph(graph_name)<br>else :<br>    print(&quot;Graph &#39;&quot;+ graph_name + &quot;&#39; already loaded&quot;)</pre><p>5. ¡Ahora, ejecutemos el algoritmo <a href="https://docs.oracle.com/en/database/oracle/property-graph/24.4/spgdg/centrality-algorithms.html#GUID-8E5C3E18-A0B7-43FF-AE69-688F900311BC">PageRank</a>!</p><pre>analyst.pagerank(graph)</pre><p>6. La siguiente consulta nos mostrará el puntaje de <strong>PageRank</strong> para todos los nodos en el BANK_GRAPH y ordenará los resultados en orden descendente de importancia.</p><pre>query = &#39;&#39;&#39;select vid, pagerank <br>    from GRAPH_TABLE(BANK_GRAPH <br>        match (v) <br>        COLUMNS (v.id as vid, v.pagerank as pagerank)<br>    ) order by pagerank desc&#39;&#39;&#39;<br><br>result = graph.execute_pgql(query)<br>result.print(file=None, num_results=1000, start=0</pre><p>Los resultados deberían verse algo así:</p><pre>+--------------------------------+<br>| vid    | pagerank              |<br>+--------------------------------+<br>| 387.0  | 0.007302836252205924  |<br>| 406.0  | 0.006734430614559079  |<br>| 135.0  | 0.006725965475577353  |<br>| 934.0  | 0.006641340764834484  |<br>| 397.0  | 0.005701607531213459  |<br>| 559.0  | 0.00526159521708817   |<br>| 352.0  | 0.005219851666461057  |<br>| 330.0  | 0.005097247981368168  |<br>| 222.0  | 0.004690452540363832  |<br>| 4.0    | 0.004576976478097234  |<br>| 640.0  | 0.004536645860803959  |<br>| 850.0  | 0.004536348340876945  |<br>| 534.0  | 0.004468812453891552  |<br>| 66.0   | 0.004444095456397747  |<br>| 13.0   | 0.004442039241845868  |<br>+--------------------------------+</pre><p>Esta consulta enumera las 20 cuentas con el puntaje de PageRank más alto, las cuales pueden considerarse las cuentas más importantes.</p><h3>Extra: Visualiza el grafo en Graph Visualization</h3><p>En <a href="https://medium.com/oracledevs/visualizing-graphs-in-oracle-graph-6159c8ce2491">este blog</a>, cubrimos cómo visualizar grafos en Graph Visualization utilizando la pestaña Database (<strong>PGQL Property Graph</strong>) para ejecutar <strong>consultas PGQL</strong> en grafos en la base de datos y la pestaña Database (<strong>SQL Property Graphs</strong>) para ejecutar <strong>consultas de grafos SQL</strong>. Este blog usará la pestaña <strong>Graph Server </strong>para <strong>ejecutar algoritmos</strong> de análisis de grafos.</p><ol><li>Usa la siguiente URL para acceder a la Visualización de Grafos:</li></ol><pre>http://&lt;ip_address&gt;:7007/dash/</pre><p>Ingresa el nombre de usuario y la contraseña del grafo, y<strong> expande las Opciones Avanzadas</strong>. Aquí ingresaremos el <strong>ID de sesión de Pgx proporcionado en el paso 3</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/0*yE4hXzT-pUSHevsS.png" /><figcaption>Graph Visualization Login</figcaption></figure><p>2. Para visualizar el BANK_GRAPH, ejecuta la siguiente consulta:</p><pre>select id_v, id_e, id_b<br>    from GRAPH_TABLE(BANK_GRAPH <br>        match (v IS bank_accounts) -[e IS bank_transfers]-&gt; (b IS bank_accounts)<br>        COLUMNS (vertex_id(v) AS id_a, edge_id(e) AS id_e, vertex_id(b) AS id_b)<br>    )</pre><blockquote>Esta consulta funciona tanto para grafos SQL como para grafos PGQL.</blockquote><p>En esta visualización, añadimos un estilo que resalta los nodos con un puntaje de PageRank ≥ 0.0035. Haz clic derecho en un nodo para ver sus propiedades.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*eEifgrqvxCl6_q6Y.png" /><figcaption>Graph visualization</figcaption></figure><p>¡Felicidades! Ahora puedes ejecutar algoritmos de grafos usando cuadernos de Jupyter y visualizarlos utilizando la herramienta de visualización de grafos.</p><p><a href="https://medium.com/tag/oracle-graph">Medium</a> (= todos los artículos con la etiqueta Oracle Graph)</p><p><a href="https://stackoverflow.com/questions/tagged/oracle-graph">Stack Overflow</a> (= preguntas con etiqueta oracle-graph)</p><p><a href="https://join.slack.com/t/andouc/shared_invite/zt-1a2hmiz6f-vLlblcQyv0t9FMraMMP5uQ">Slack AnDOUC</a> (= enlace de invitación, visita #graph)</p><p><a href="https://join.slack.com/t/oracledevrel/shared_invite/zt-uffjmwh3-ksmv2ii9YxSkc6IpbokL1g">Slack OracleDevRel</a> (= enlace de invitación, visita #oracle-db-graph)</p><p><a href="https://www.youtube.com/channel/UCZqBavfLlCuS0il6zNY696w">Canal de Youtube</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0621f9b5c9cc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oracledevs/ejecuta-algoritmos-de-grafos-en-jupyter-notebook-0621f9b5c9cc">Ejecuta algoritmos de grafos en Jupyter Notebook</a> was originally published in <a href="https://medium.com/oracledevs">Oracle Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Run Graph Algorithms in Jupyter Notebook]]></title>
            <link>https://medium.com/oracledevs/run-graph-algorithms-in-jupyter-notebook-4a612c870652?source=rss-b846cd4fb587------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a612c870652</guid>
            <category><![CDATA[oracle-graph]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[graph-algorithms]]></category>
            <category><![CDATA[graph]]></category>
            <dc:creator><![CDATA[Ramu Murakami Gutierrez]]></dc:creator>
            <pubDate>Mon, 13 Jan 2025 16:31:20 GMT</pubDate>
            <atom:updated>2025-05-06T23:00:27.524Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x5VLBPmW7phSOIAOSC1v5w.png" /></figure><p>Edges tell stories, nodes hold secrets — follow the stories to find the secrets.</p><p>Oracle Graph has more than <a href="https://github.com/oracle-samples/pgx-samples/tree/master/built-in-algorithms">+80 algorithms</a> available!</p><p>In previous blogs, we’ve covered how to <a href="https://medium.com/oracledevs/get-started-with-oracle-graph-using-sql-developer-e5ccbd61c9fb">create and run graph queries</a> and <a href="https://medium.com/oracledevs/visualizing-graphs-in-oracle-graph-6159c8ce2491">visualize graphs</a>. This blog will unlock the power of running graph algorithms using Oracle Graph in Jupyter Notebook.</p><p><a href="https://docs.oracle.com/en/database/oracle/property-graph/23.2/spgdg/sql-property-graphs.html">SQL</a> and <a href="https://docs.oracle.com/en/database/oracle/property-graph/20.4/spgdg/property-graph-query-language-pgql.html">PGQL</a> are used to query graphs in Oracle Database. With Oracle Database 23ai, you can run graph queries using either SQL or PGQL (if you are starting with graphs in 23ai, you would probably use SQL), while in 19c and earlier, only PGQL is supported. We will cover both examples in this blog.</p><p>We will use the graph created in <a href="https://medium.com/oracledevs/get-started-with-oracle-graph-using-sql-developer-e5ccbd61c9fb">this blog</a>. To follow these steps, you need to have <a href="https://www.python.org/downloads/">Python</a> 3.9.0 or higher and <a href="https://jupyter.org/install">Jupyter</a> installed on the same machine. Additionally, we will install the Oracle Graph Client and run graph algorithms in <strong>Oracle Graph Server</strong>. To do that, the graph will be uploaded from the database to the Graph Server.</p><p>Let’s get started!</p><h4><strong>Install Oracle Graph Client</strong></h4><p>1. Oracle graph client is available in PyPI. To install it, run the following command on your terminal. It’s easy and straightforward!</p><pre>pip install oracle-graph-client </pre><p>Now, we are ready for the fun part!</p><h4><strong>Open Jupyter Notebook and run graph algorithms</strong></h4><p>It’s time to <a href="https://docs.jupyter.org/en/latest/running.html">open Jupyter </a>Notebook. After it’s open, create a new Python notebook.</p><ol><li>Run the following paragraph to import our Oracle PGX (Parallel Graph AnalytiX) packages.</li></ol><pre>import getpass #Securely get user password<br>import opg4py #Oracle PGX Python API for graph analytics<br>import pypgx.pg.rdbms.graph_server as graph_server #Manages graph server on Oracle RDBMS <br>from pypgx import setloglevel #Sets logging verbosity in PGX</pre><p>2. Now, create the connection to the database. The username, password, and graph name are case-sensitive.</p><pre>setloglevel(&#39;ROOT&#39;, &#39;OFF&#39;) #Ensures script runs without producing unnecessary logs<br>base_url = &quot;&lt;http://localhost:7007&gt;&quot; #Typically defined in the server&#39;s configuration<br>username = &#39;&lt;graph enabled user&gt;&#39;<br>password = &#39;&lt;password&gt;&#39;<br>graph_name = &quot;bank_graph&quot; #Specific graph you want want to work with<br>jdbc_connection_string = &#39;&lt;jdbc:oracle:thin:@//host:port/service_name&gt;&#39; #To connecto to your database</pre><p>Enter the graph user password when prompted.</p><p>3. The next step is to create a Graph Server Session. This step allows you to visualize the graph in Graph Visualization <strong>and run graph algorithms</strong>. We will show the<strong> visualization</strong> steps in the bonus section!</p><pre>db_connection = opg4py.pgql.get_connection(username, password, jdbc_connection_string).get_jdbc_connection() #Establishes JDBC connection to database<br>instance = graph_server.get_instance(base_url, username, password) #Connects to PGX<br>session = instance.create_session(&quot;python_pgx_client&quot;) #Creates new session on PGX server<br>analyst = session.create_analyst() #Creates analyst object within session<br>print(session) #Prints session object and provides details</pre><p>This information allows you to visualize the graph in Graph Visualization. We will show the steps in the <strong>bonus section</strong>! Here is an example of how these details will be returned.</p><pre>PgxSession(id: &lt;session id&gt;, name: python_pgx_client)</pre><p>4. To run graph algorithms using a <strong>SQL graph</strong>, we need to load the graph<strong> into Graph Server</strong> memory. To do so, run the following paragraph.</p><pre># try getting the graph from the in-memory graph server<br>graph = session.get_graph(graph_name)<br># if it does not exist read it into graph server memory<br>if (graph == None) :<br>    session.read_graph_by_name(graph_name, &quot;pg_sql&quot;)<br>    print(&quot;Graph &quot;+ graph_name + &quot; successfully loaded&quot;)<br>    graph = session.get_graph(graph_name)<br>else :<br>    print(&quot;Graph &#39;&quot;+ graph_name + &quot;&#39; already loaded&quot;)</pre><blockquote>If you are using a <strong>PGQL graph</strong> run this paragraph instead:</blockquote><pre># try getting the graph from the in-memory graph server<br>graph = session.get_graph(graph_name)<br># if it does not exist read it into graph server memory<br>if (graph == None) :<br>    session.read_graph_by_name(graph_name, &quot;pg_pgql&quot;)<br>    print(&quot;Graph &quot;+ graph_name+ &quot; successfully loaded&quot;)<br>    graph = session.get_graph(graph_name)<br>else :<br>    print(&quot;Graph &#39;&quot;+ graph_name + &quot;&#39; already loaded&quot;)</pre><p>5. Now, let’s run the <a href="https://docs.oracle.com/en/database/oracle/property-graph/24.4/spgdg/centrality-algorithms.html#GUID-8E5C3E18-A0B7-43FF-AE69-688F900311BC"><strong>PageRank</strong></a><strong> algorithm</strong>!</p><pre>analyst.pagerank(graph)</pre><p>6. The following query will show us the <strong>PageRank score</strong> for all nodes in the BANK_GRAPH and sort the results in descending order of importance.</p><pre>query = &#39;&#39;&#39;select vid, pagerank <br>    from GRAPH_TABLE(BANK_GRAPH <br>        match (v) <br>        COLUMNS (v.id as vid, v.pagerank as pagerank)<br>    ) order by pagerank desc&#39;&#39;&#39;<br><br>result = graph.execute_pgql(query)<br>result.print(file=None, num_results=1000, start=0)</pre><p>The results should look something like this:</p><pre>+--------------------------------+<br>| vid    | pagerank              |<br>+--------------------------------+<br>| 387.0  | 0.007302836252205924  |<br>| 406.0  | 0.006734430614559079  |<br>| 135.0  | 0.006725965475577353  |<br>| 934.0  | 0.006641340764834484  |<br>| 397.0  | 0.005701607531213459  |<br>| 559.0  | 0.00526159521708817   |<br>| 352.0  | 0.005219851666461057  |<br>| 330.0  | 0.005097247981368168  |<br>| 222.0  | 0.004690452540363832  |<br>| 4.0    | 0.004576976478097234  |<br>| 640.0  | 0.004536645860803959  |<br>| 850.0  | 0.004536348340876945  |<br>| 534.0  | 0.004468812453891552  |<br>| 66.0   | 0.004444095456397747  |<br>| 13.0   | 0.004442039241845868  |<br>+--------------------------------+</pre><p>This query lists the top 20 accounts with the highest PageRank score, which can be considered the most important accounts.</p><h3><strong>Bonus: Visualize the graph in Graph Visualization</strong></h3><p>In <a href="https://medium.com/oracledevs/visualizing-graphs-in-oracle-graph-6159c8ce2491">this blog</a>, we covered how to visualize graphs in Graph Visualization using the <strong>Database (PGQL Property Graph)</strong> tab to run <strong>PGQL queries</strong> on graphs in the database and the Database (SQL Property Graphs) tab to run SQL graph queries. This blog will use the <strong>Graph Server</strong> tab to run <strong>graph queries to display the results from running</strong> graph analytics algorithms.</p><ol><li>Use the following URL to access Graph Visualization:</li></ol><pre>http://&lt;ip_address&gt;:7007/dash/</pre><p>Enter the graph username and password, and <strong>expand Advance Options</strong>. Here, we will enter the <strong>Pgx session ID provided in step 3</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*0lyrkLWtb1Ik9b434o8vTg.png" /><figcaption>Graph Visualization Login</figcaption></figure><p>2. To visualize the BANK_GRAPH, run the following query:</p><pre>select id_v, id_e, id_b<br>    from GRAPH_TABLE(BANK_GRAPH <br>        match (v IS bank_accounts) -[e IS bank_transfers]-&gt; (b IS bank_accounts)<br>        COLUMNS (vertex_id(v) AS id_a, edge_id(e) AS id_e, vertex_id(b) AS id_b)<br>    ) </pre><blockquote>This query works for both SQL and PGQL graphs.</blockquote><p>In this visualization, we added a style highlighting the nodes with a PageRank score ≥ 0.0035. Right-click on a node to see its properties.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T7Uq9ZiHNKnQZnApCE8Nfw.png" /><figcaption>Graph visualization</figcaption></figure><p>Congratulations! You can now run graph algorithms using Jupyter notebooks and visualize them using graph visualization.</p><p><a href="https://medium.com/tag/oracle-graph">Medium</a> (= all articles with Oracle Graph tag)<br><a href="https://stackoverflow.com/questions/tagged/oracle-graph">Stack Overflow</a> (= questions with oracle-graph tag)<br><a href="https://join.slack.com/t/andouc/shared_invite/zt-2tjbk58ib-MLbTwXInp80nQQuX6BtL_Q">Slack AnDOUC</a> (= invitation link, please visit #graph)<br><a href="https://join.slack.com/t/oracledevrel/shared_invite/zt-uffjmwh3-ksmv2ii9YxSkc6IpbokL1g">Slack OracleDevRel</a> (= invitation link, please visit #oracle-db-graph)<br><a href="https://www.youtube.com/channel/UCZqBavfLlCuS0il6zNY696w">Youtube Channel</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a612c870652" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oracledevs/run-graph-algorithms-in-jupyter-notebook-4a612c870652">Run Graph Algorithms in Jupyter Notebook</a> was originally published in <a href="https://medium.com/oracledevs">Oracle Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visualizando Grafos en Oracle Graph]]></title>
            <link>https://medium.com/@ramumurakamig/visualizando-grafos-en-oracle-graph-31f24b66b47f?source=rss-b846cd4fb587------2</link>
            <guid isPermaLink="false">https://medium.com/p/31f24b66b47f</guid>
            <category><![CDATA[grafo]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[oracle-graph]]></category>
            <dc:creator><![CDATA[Ramu Murakami Gutierrez]]></dc:creator>
            <pubDate>Tue, 09 Apr 2024 17:23:54 GMT</pubDate>
            <atom:updated>2025-04-08T18:11:41.860Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xR7QWYAmvwMip-_tUPpsFA.png" /></figure><p>Tus datos están conectados. Descubre nuevas estadísticas visualizando tus datos usando grafos.</p><p>En el <a href="https://medium.com/oracledevs/guia-rapida-para-usar-oracle-graph-con-sql-developer-4001f067f34b">último blog</a>, repasamos la forma más rápida de empezar a ejecutar consultas de grafos en tu base de datos de Oracle, que es utilizando SQL Developer. ¿Qué pasaría si quisieras visualizar esos grafos? En este blog, asumiremos que has seguido los pasos del blog de SQL Developer.</p><p>En este blog, utilizaremos <strong>Oracle Database 23ai</strong> para visualizar consultas <strong>SQL</strong> y <strong>PGQL</strong>, pero ten en cuenta que puedes seguir los mismos pasos para visualizar los resultados de consultas PGQL en otras versiones de la base de datos. PGQL está disponible en <strong>todas las versiones de la base de datos admitidas</strong>. Instalaremos Oracle Graph Server y JDK 11 (que requiere Oracle Graph Server) para acceder a la herramienta de visualización de grafos. Oracle Graph Server es necesario para utilizar esta herramienta.</p><p>Empecemos!</p><p>Crearemos un directorio para que todos mis archivos de grafos estén en un solo lugar.</p><pre>mkdir graph</pre><p>Comprueba qué versión de Java tienes en tu entorno de Linux.</p><pre>java -version</pre><p>Si no tienes JDK 11 instalado, sigue estos pasos.</p><h3><strong>Instalación de JDK 11</strong></h3><p>Como se documenta <a href="https://docs.oracle.com/en/database/oracle/property-graph/24.1/spgdg/system-requirements-installing-oracle-graph-server.html#GUID-D617B745-AC9F-431E-A861-B45374392162">aquí</a>, recomendamos evitar las siguientes versiones de JDK 11:</p><p>· JDK 11.0.9</p><p>· JDK 11.0.10</p><p>· JDK 11.0.11</p><p>· JDK 11.0.12</p><ol><li>1. Ve a <a href="https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html">este</a> enlace y descarga Java 11. El nombre del archivo será <strong>jdk-11.0.&lt;version&gt;_linux-x64_bin.rpm</strong>.</li><li>Revisa y acepta el acuerdo de licencia de Oracle.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YpgrrNMQk1ULcRDkay-p9Q.png" /><figcaption>Página de descarga para JDK 11</figcaption></figure><p>3. Una vez descargado, mueve el archivo local a tu entorno Linux. Si estás utilizando Windows, utiliza una herramienta que te permita copiar archivos desde tu máquina local a tu máquina Linux. En un Mac, puedes utilizar el siguiente comando en la línea de comandos:</p><pre>scp -rp /path/to/local/dir host:/path/to/remote/dir</pre><p>Deberías poder verlo en tu entorno Linux ahora:</p><pre>cd graph<br>ls<br>jdk-11.0.21_linux-x64_bin.rpm</pre><p>4. Ejecuta el archivo JDK 11 de rpm:</p><pre>sudo rpm -i jdk-11.0.&lt;version&gt;_linux-x64_bin.rpm</pre><p>¡Instalemos Graph Server!</p><h3>Instalación de el servidor de Oracle Graph Server</h3><ol><li>1. Ve a <a href="https://www.oracle.com/database/technologies/spatialandgraph/property-graph-features/graph-server-and-client/graph-server-and-client-downloads.html">este</a> enlace y descarga la última versión de Oracle Graph Server. Selecciona la plataforma adecuada. Yo seleccionaré <strong>Linux x86–64</strong> y descargaré el archivo<strong> Oracle Graph Server</strong>.</li><li>Revisa y acepta el acuerdo de licencia.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*LEgJ3x4cKxYKq2ijE_GTaQ.png" /><figcaption>Página Servidor de Grafos y Cliente: Descargas</figcaption></figure><p>3. Después de descargarlo, muévelo al entorno de Linux.</p><p>4. Descomprime el archivo en el entorno de Linux.</p><pre>unzip V1040760-01.zip</pre><p>5. Necesitas aproximadamente 2 GB de espacio en disco. Ejecuta el siguiente comando para instalar Graph Sever:</p><pre>sudo rpm -i oracle-graph-&lt;version&gt;.x86_64.rpm</pre><blockquote>Nota: El proceso de instalación crea un nuevo grupo llamado oraclegraph. Si recibes un error que dice que <strong>no se puede encontrar oraclegraph</strong>, es posible que necesites actualizar el valor SYS_GID_MAX en el archivo /etc/login.defs. También tendrás que limpiar la instalación anterior.</blockquote><pre>sudo vim /etc/login.defs</pre><p>Desplázate hasta la sección # System accounts y asegúrate de que el valor para SYS_GID_MAX sea 1499.</p><pre>...<br>#Min/max values for automatic gid selection in groupadd<br>GID_MIN                  1000<br>GID_MAX                 60000<br># System accounts<br>SYS_GID_MIN               201<br>SYS_GID_MAX              1499                       &lt;-- Aqui                <br>...</pre><p>Para limpiar la instalación anterior, ejecuta el siguiente comando:</p><pre>sudo rpm -e oracle-graph</pre><p>6. Define la URL de JDBC para conectar la base de datos.</p><pre>vi /etc/oracle/graph/pgx.conf</pre><p>La URL de JDBC se debe cambiar aquí:</p><pre>...<br>&quot;pgx_realm&quot;: {<br>  &quot;implementation&quot;: &quot;oracle.pg.identity.DatabaseRealm&quot;,<br>  &quot;options&quot;: {<br>    &quot;jdbc_url&quot;: &quot;jdbc:oracle:thin:@myhost:1521/myservice&quot;,    &lt;-- Aqui<br>    &quot;token_expiration_seconds&quot;: 14400,<br>...</pre><p>7. Como se trata de un entorno de prueba, desactivaremos TLS. Si lo estás utilizando para producción, déjalo activado.</p><pre>vi /etc/oracle/graph/server.conf</pre><p>Debe tener este aspecto:</p><pre>{<br>  &quot;port&quot;: 7007,<br>  &quot;enable_tls&quot;: false,<br>  &quot;enable_client_authentication&quot;: false,<br>  &quot;server_keystore&quot;: &quot;/etc/oracle/graph/server_keystore.jks&quot;,<br>  &quot;server_keystore_alias&quot;: &quot;pgx&quot;,<br>  &quot;server_keystore_type&quot;: &quot;JKS&quot;,<br>  &quot;server_keystore_provider&quot;: &quot;SUN&quot;,<br>  &quot;ca_certs&quot;: [],<br>  &quot;working_dir&quot;: &quot;/opt/oracle/graph/pgx/tmp_data&quot;<br>}</pre><p>8. Inicia <strong>Graph Server</strong>.</p><pre>sudo systemctl start pgx</pre><p>para comprobar que el servidor se está ejecutando, ejecuta el siguiente comando:</p><pre>sudo systemctl status pgx </pre><p>Deberías ver esto si se está ejecutando:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6wJxtuASNqG5sNoaX8WBvQ.png" /><figcaption>El servidor de grafos ejecutando</figcaption></figure><blockquote>Nota: Si no esta ejecutando, intenta reiniciar el servidor:</blockquote><pre>sudo systemctl restart pgx</pre><p>Puedes encontrar más información sobre la instalación de Graph Server en la <a href="https://docs.oracle.com/en/database/oracle/property-graph/24.1/spgdg/oracle-graph-server-installation.html">documentación</a>.</p><h3>Accede a Graph Visualization</h3><p>Utiliza la siguiente URL para acceder a la <strong>visualización de grafos</strong>:</p><pre>http://&lt;ip_address&gt;:7007/ui/</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*u4EtuHD41RnNeTRSsjPZBA.png" /><figcaption>Conexión a Graph Visualization</figcaption></figure><p>Ahora deberías poder visualizar tus consultas de grafos!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*eSsSIyF2y9X0gw_rrTxj5Q.png" /><figcaption>Ejemplo de Visualizaciones de Grafos</figcaption></figure><p>Hay tres pestañas. Utiliza la pestaña <strong>Database (PGQL Property Graphs)</strong> para ejecutar <strong>consultas PGQL</strong> en la base de datos y visualizar los resultados. Utiliza la pestaña <strong>Database (SQL Property Graphs)</strong>para ejecutar <strong>consultas SQL</strong> y visualizar los resultados. En estos casos, Graph Server pasa la consulta a la base de datos para su ejecución.</p><p>Si has cargado un grafo en Graph Server, utiliza la pestaña <strong>Graph Server </strong>para ejecutar algoritmos de análisis de grafos. En este caso, la consulta se ejecuta en el propio Graph Server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*9rPOXfcSn3C_K3FRqv7Uvg.png" /><figcaption>Visualización de grafos de propiedades SQL</figcaption></figure><p>Utiliza el separador <strong>Database (PGQL Property Graphs)</strong> para visualizar consultas de grafos PGQL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*FLIw-y7J24vqED6rRfdwyA.png" /><figcaption>Visualizar consultas de grafos de PGQL</figcaption></figure><blockquote>Nota: Puedes encontrar estas consultas en <a href="https://medium.com/oracledevs/get-started-with-oracle-graph-using-sql-developer-e5ccbd61c9fb">este blog.</a></blockquote><p>¡Felicidades! Haz instalado Oracle Graph Server y ahora puedes visualizar consultas de grafos.</p><p><a href="https://medium.com/tag/oracle-graph">Medium</a> (= todos los artículos con la etiqueta Oracle Graph)</p><p><a href="https://stackoverflow.com/questions/tagged/oracle-graph">Stack Overflow</a> (= preguntas con etiqueta oracle-graph)</p><p><a href="https://join.slack.com/t/andouc/shared_invite/zt-1a2hmiz6f-vLlblcQyv0t9FMraMMP5uQ">Slack AnDOUC</a> (= enlace de invitación, visita #graph)</p><p><a href="https://join.slack.com/t/oracledevrel/shared_invite/zt-uffjmwh3-ksmv2ii9YxSkc6IpbokL1g">Slack OracleDevRel</a> (= enlace de invitación, visita #oracle-db-graph)</p><p><a href="https://www.youtube.com/channel/UCZqBavfLlCuS0il6zNY696w">Canal de Youtube</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31f24b66b47f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visualizing Graphs in Oracle Graph]]></title>
            <link>https://medium.com/oracledevs/visualizing-graphs-in-oracle-graph-6159c8ce2491?source=rss-b846cd4fb587------2</link>
            <guid isPermaLink="false">https://medium.com/p/6159c8ce2491</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[graph-visualization]]></category>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[oracle-graph]]></category>
            <category><![CDATA[graph]]></category>
            <dc:creator><![CDATA[Ramu Murakami Gutierrez]]></dc:creator>
            <pubDate>Tue, 05 Mar 2024 16:01:31 GMT</pubDate>
            <atom:updated>2024-10-15T19:18:32.137Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ElQnKV-KHAZ8HjzzX0JWJg.png" /></figure><p>Your data is connected. Discover new insights by visualizing your data in a graph.</p><p>In the last <a href="https://medium.com/oracledevs/get-started-with-oracle-graph-using-sql-developer-e5ccbd61c9fb">blog</a>, we went over the quickest way to start running graph queries in your Oracle Database, which is using SQL Developer. What if you wanted to visualize those graphs? In this blog, we will assume you’ve followed the steps in the SQL Developer blog.</p><p>In this blog, we will use <strong>Oracle Database 23ai </strong>to visualize<strong> SQL </strong>and <strong>PGQL queries</strong>, but note that you can follow the same steps to visualize the results of PGQL queries in other database versions. PGQL is available in <strong>all supported database versions</strong>. We will install Oracle Graph Server and JDK 11 (that Oracle Graph Server requires) to access the graph visualization tool. Oracle Graph Server is required to use this tool.</p><p><strong>Now, let’s get started.</strong></p><p>I will create a directory for all my graph files to be in one place.</p><pre>mkdir graph</pre><p>Check to see what Java version you have in your Linux environment.</p><pre>java -version</pre><p>If you don’t have JDK 11 installed, follow the steps below.</p><h4><strong>Install JDK 11</strong></h4><p>As documented <a href="https://docs.oracle.com/en/database/oracle/property-graph/24.3/spgdg/system-requirements-installing-oracle-graph-server.html">here</a>, we recommend <strong>avoiding</strong> the following JDK 11 versions:</p><ul><li>JDK 11.0.9</li><li>JDK 11.0.10</li><li>JDK 11.0.11</li><li>JDK 11.0.12</li></ul><ol><li>Go to <a href="https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html">this</a> link and download Java 11. The file&#39;s name will be <strong>jdk-11.0.&lt;version&gt;_linux-x64_bin.rpm</strong>.</li><li>Review and accept the Oracle License Agreement.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-BhWJMLYJvvxxGWuYk55nA.png" /><figcaption>Download page for JDK 11</figcaption></figure><p>3. After it is downloaded, move the local file to your Linux environment. If you are using Windows, use a tool that allows you to copy files from your local machine to your Linux machine. On a Mac, you can use the following command line:</p><pre>scp -rp /path/to/local/dir host:/path/to/remote/dir</pre><p>You should now be able to see it in your Linux environment:</p><pre>cd graph<br>ls<br>jdk-11.0.21_linux-x64_bin.rpm</pre><p>4. Now let’s install JDK 11 via rpm file:</p><pre>sudo rpm -i jdk-11.0.&lt;version&gt;_linux-x64_bin.rpm</pre><p>Let’s Install Graph Server now!</p><h4><strong>Install Oracle Graph Server</strong></h4><ol><li>Go to <a href="https://www.oracle.com/database/technologies/spatialandgraph/property-graph-features/graph-server-and-client/graph-server-and-client-downloads.html#">this</a> link and download the latest version of Oracle Graph Server. Pick the right platform. I will pick <strong>Linux x86–64 </strong>and download <strong>Oracle Graph Server </strong>file.</li><li>Review and accept the license agreement.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*as1GHEipKrlnXc_nRfV3Ow.png" /><figcaption>Graph Server and Client Download Page</figcaption></figure><p>3. After it is downloaded, move it to the Linux environment.</p><p>4. Unzip the file in your Linux environment.</p><pre>unzip V1040760-01.zip</pre><p>6. You need approximately 2 GB of disk space. Run the following command to install Graph Server:</p><pre>sudo rpm -i oracle-graph-&lt;version&gt;.x86_64.rpm</pre><blockquote>Note: The install process creates a new group, oraclegraph. If you get an error saying <strong>oraclegraph cannot be found</strong>, the SYS_GID_MAX value in the /etc/login.defs file might need to be updated. You will also have to clean up the old install.</blockquote><pre>sudo vim /etc/login.defs</pre><p>Scroll to # System accounts and make sure that the value for SYS_GID_MAX is 1499.</p><pre>...<br>#Min/max values for automatic gid selection in groupadd<br>GID_MIN                  1000<br>GID_MAX                 60000<br># System accounts<br>SYS_GID_MIN               201<br>SYS_GID_MAX              1499                       &lt;--Here                <br>...</pre><p>Clean up the previous install, and run the first command in step 6. To clean up the previous install, run the following command:</p><pre>sudo rpm -e oracle-graph</pre><p>7. Set the JDBC URL to connect the database.</p><pre>sudo vi /etc/oracle/graph/pgx.conf</pre><p>Your JDBC URL should be changed here:</p><pre>...<br>&quot;pgx_realm&quot;: {<br>  &quot;implementation&quot;: &quot;oracle.pg.identity.DatabaseRealm&quot;,<br>  &quot;options&quot;: {<br>    &quot;jdbc_url&quot;: &quot;jdbc:oracle:thin:@myhost:1521/myservice&quot;,    &lt;-- Here<br>    &quot;token_expiration_seconds&quot;: 14400,<br>...</pre><p>8. Since this is a test environment, we will Disable TLS. If you are using this for production, leave it enabled.</p><pre>sudo vi /etc/oracle/graph/server.conf</pre><p>It should look like this:</p><pre>{<br>  &quot;port&quot;: 7007,<br>  &quot;enable_tls&quot;: false,<br>  &quot;enable_client_authentication&quot;: false,<br>  &quot;server_keystore&quot;: &quot;/etc/oracle/graph/server_keystore.jks&quot;,<br>  &quot;server_keystore_alias&quot;: &quot;pgx&quot;,<br>  &quot;server_keystore_type&quot;: &quot;JKS&quot;,<br>  &quot;server_keystore_provider&quot;: &quot;SUN&quot;,<br>  &quot;ca_certs&quot;: [],<br>  &quot;working_dir&quot;: &quot;/opt/oracle/graph/pgx/tmp_data&quot;<br>}</pre><p>9. Let’s start our <strong>Graph Server</strong>!</p><pre>sudo systemctl start pgx</pre><p>To check that the server is running, run the following command:</p><pre>sudo systemctl status pgx </pre><p>It should look like this if it’s running:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bbrTNVnzcK8Xv6AnCyFC1w.png" /><figcaption>Graph Server is running</figcaption></figure><blockquote>Note: If it’s not running, try restarting the server:</blockquote><pre>sudo systemctl restart pgx</pre><p>You can find additional information about installing Graph Server in the <a href="https://docs.oracle.com/en/database/oracle/property-graph/24.1/spgdg/oracle-graph-server-installation.html">documentation</a>.</p><h4>Open Graph Visualization Application</h4><p>Use the following URL to access <strong>Graph Visualization</strong>:</p><pre>http://&lt;ip_address&gt;:7007/ui/</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*vXTHg12wyFf4l4c7YkwkDQ.png" /><figcaption>Graph Visualization Login</figcaption></figure><p>You should be able to visualize your graph queries now!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yNoYoo_XlBFN3EFigxQkBw.png" /><figcaption>Example of Graph Visualizations</figcaption></figure><p>There are three tabs. Use the <strong>Database (PGQL Property Graph)</strong> tab to run <strong>PGQL queries</strong> on graphs in the database and visualize the results.<strong> </strong>Use the Database (SQL Property Graphs) tab to run SQL graph queries and visualize the results. In these cases, Graph Server passes the query to the database for execution.</p><p>If you have loaded a graph into Graph Server, use the Graph Server tab to run graph analytics algorithms. In this case, the query is executed in Graph Server itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_W2CEuYRWToEIcekRgGo1A.png" /><figcaption>Visualize SQL Property graphs</figcaption></figure><p>Use the Database (PGQL Property Graph) tab to visualize PGQL graph queries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PAQvIzjJY6gmpaTjA4SQfw.png" /><figcaption>Visualize PGQL graph queries</figcaption></figure><blockquote>Note: You can find these queries in <a href="https://medium.com/oracledevs/get-started-with-oracle-graph-using-sql-developer-e5ccbd61c9fb">this blog.</a></blockquote><p>Congratulations! You’ve installed Oracle Graph Server and can visualize graph queries now.</p><p><a href="https://medium.com/tag/oracle-graph">Medium</a> (= all articles with Oracle Graph tag)</p><p><a href="https://stackoverflow.com/questions/tagged/oracle-graph">Stack Overflow</a> (= questions with oracle-graph tag)</p><p><a href="https://join.slack.com/t/andouc/shared_invite/zt-1a2hmiz6f-vLlblcQyv0t9FMraMMP5uQ">Slack AnDOUC</a> (= invitation link, please visit #graph)</p><p><a href="https://join.slack.com/t/oracledevrel/shared_invite/zt-uffjmwh3-ksmv2ii9YxSkc6IpbokL1g">Slack OracleDevRel</a> (= invitation link, please visit #oracle-db-graph)</p><p><a href="https://www.youtube.com/channel/UCZqBavfLlCuS0il6zNY696w">Youtube Channel</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6159c8ce2491" width="1" height="1" alt=""><hr><p><a href="https://medium.com/oracledevs/visualizing-graphs-in-oracle-graph-6159c8ce2491">Visualizing Graphs in Oracle Graph</a> was originally published in <a href="https://medium.com/oracledevs">Oracle Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>