Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix quotes #172

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Now let's create a compacted network. During this process all nodes with only tw
We are going to use the [`GENERATE_NETWORK_TABLE`](../../sql-reference/routing/#generate_network_table) procedure:

```sql
CALL ``carto-un`.routing.GENERATE_NETWORK_TABLE`('mydataset.liberty_island_linestrings',
CALL `carto-un.routing.GENERATE_NETWORK_TABLE`('mydataset.liberty_island_linestrings',
'mydataset.liberty_island_network');
```

Expand All @@ -47,7 +47,7 @@ CREATE OR REPLACE TABLE
WITH
T AS(
SELECT
``carto-un`.routing.GENERATE_NETWORK`(ARRAY_AGG(STRUCT(geometry, 1.))) generate_network
`carto-un.routing.GENERATE_NETWORK`(ARRAY_AGG(STRUCT(geometry, 1.))) generate_network
FROM
`mydataset.my_test_linestrings` )
SELECT
Expand Down Expand Up @@ -83,7 +83,7 @@ You can use the [`FIND_SHORTEST_PATH_FROM_NETWORK_TABLE`](../../sql-reference/ro

```sql
CALL
``carto-un`.routing.FIND_SHORTEST_PATH_FROM_NETWORK_TABLE`( "mydataset.liberty_island_network",
`carto-un.routing.FIND_SHORTEST_PATH_FROM_NETWORK_TABLE`( "mydataset.liberty_island_network",
"mydataset.my_shortest_path",
"ST_geogpoint(-74.04665, 40.68983)",
"ST_geogpoint(-74.0438, 40.68874)" )
Expand All @@ -96,7 +96,7 @@ Our you can use the [`FIND_SHORTEST_PATH_FROM_NETWORK`](../../sql-reference/rout
WITH
T AS(
SELECT
``carto-un`.routing.FIND_SHORTEST_PATH_FROM_NETWORK`(ARRAY_AGG(flatten_links),
`carto-un.routing.FIND_SHORTEST_PATH_FROM_NETWORK`(ARRAY_AGG(flatten_links),
ST_geogpoint(-74.04665,
40.68983),
ST_geogpoint(-74.0438,
Expand Down Expand Up @@ -126,7 +126,7 @@ You can use the [`DISTANCE_MAP_FROM_NETWORK_TABLE`](../../sql-reference/routing/

```sql
CALL
``carto-un`.routing.DISTANCE_MAP_FROM_NETWORK_TABLE`( "mydataset.liberty_island_network",
`carto-un.routing.DISTANCE_MAP_FROM_NETWORK_TABLE`( "mydataset.liberty_island_network",
"mydataset.my_distance_map",
"ST_geogpoint(-74.0438, 40.68874)" )
```
Expand All @@ -137,7 +137,7 @@ Or you can use the [`DISTANCE_MAP_FROM_NETWORK`](../../sql-reference/routing/#di
WITH
T AS(
SELECT
``carto-un`.routing.DISTANCE_MAP_FROM_NETWORK`(ARRAY_AGG(flatten_links),
`carto-un.routing.DISTANCE_MAP_FROM_NETWORK`(ARRAY_AGG(flatten_links),
ST_geogpoint(-74.0438,
40.68874)) distance_map
FROM
Expand Down