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

Switch to geometry #9

Merged
merged 1 commit into from
Dec 22, 2016
Merged

Switch to geometry #9

merged 1 commit into from
Dec 22, 2016

Conversation

stirringhalo
Copy link
Collaborator

No description provided.

@stirringhalo
Copy link
Collaborator Author

Note to anyone reading, this may be a breaking change if you don't have all your docker images pulling latest at this point in time, specifically: v1.2 on import-natural-earth and latest on openmaptiles-tools.

stirringhalo added a commit to openmaptiles/openmaptiles that referenced this pull request Dec 22, 2016
@lukasmartinelli
Copy link
Contributor

lukasmartinelli commented Dec 22, 2016

That's just the default. We should still probably set the geometry_field to geometry.
Thanks for figuring it out!!

@stirringhalo stirringhalo deleted the switch_to_geometry branch December 22, 2016 14:49
nyurik pushed a commit that referenced this pull request Nov 15, 2019
Use download-geofabrik generate
nyurik pushed a commit that referenced this pull request Nov 15, 2019
Do not fail if there are no matching sql files in dir
nyurik pushed a commit that referenced this pull request Nov 18, 2019
nyurik added a commit that referenced this pull request May 19, 2020
A new test utility to compare the speed of function execution.

```
profile-pg-func [--file <file>]... <func>...
                [--calls <calls>] [--runs <runs>] [--trim <trim>]
                [--verbose] [--pghost=<host>] [--pgport=<port>] [--dbname=<db>]
                [--user=<user>] [--password=<password>]
```

Usage example:   `profile-pg-func 'random()' '1'` -- compare execution of the `random()` function vs a constant.

Result:

```
Running 2 functions x 10 runs x 100,000 each...
Finished run #1
Finished run #2
Finished run #3
Finished run #4
Finished run #5
Finished run #6
Finished run #7
Finished run #8
Finished run #9
Finished run #10
Dropping 1 fastest and 1 slowest runs

Function    AVG of 8 runs    MIN             MAX                   STDEV
----------  ---------------  --------------  --------------  -----------
1           0:00:00.024206   0:00:00.022877  0:00:00.025343  0.000960769
random()    0:00:00.028703   0:00:00.028062  0:00:00.029955  0.000789266
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants