Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
PHP is a Server-Side Scripting language designed initially for web programming, but is also used as a general-purpose programming language.
1
vote
0
answers
619
views
Ogr2ogr: how to add values to a database column
user=postgres password=123456" C:\xampp\htdocs\siap-padron\public\uploads/2044492/polygon/1597861175.kml -nln ppb_curp 2>&1
but just insert data into column ogc_fid and wkb_geometry.
i am using php …
2
votes
1
answer
280
views
ogr2ogr error loading KML file in PostGIS with PHP
So I have a KML file that I want to save to my PostGIS database,
Currently I have the following code using PHP:
$file = $request->file("item");
$name = time();
$name = $name . '.' . … xampp\htdocs\siap-padron\public/uploads/2044492/kml/1597284059.kml -nln siap 2>&1
If I run it in PowerShell or in the system symbol it inserts it correctly in the PostGIS base, but when it is run in PHP …
1
vote
ogr2ogr error loading KML file in PostGIS with PHP
The error came out because my kml file path was wrong, the correct way is as follows
ogr2ogr -f PostgreSQL PG:"host=127.0.0.1 dbname=postgis_24_sample port=5432 user=postgres password=123456" C:/xa …