David,
gdalwarp should stop eliminating outliers when it can't find any more. But
to be sure you can pass the minimum number of GCPs. Also, the argument *
tolerance* is the tolerance in GCP's SRS units. Since the outliers are
indicated by (-,-) and our GCPs can go between -180 and 180,
any
Greetings,
ogr2ogr has allowed me to successfully convert an ESRI personnal geodatabase
from a Windows XP computer to an Ubuntu server 11.04 running PostGIS 1.5
with proper encoding . The tables containing the blob/shapefiles all made it
but not the others. Am I right to presume I'll have to migrat
Chaitanya,
This image have 329 GCPs and 41 of them are not outliers , can i
put -refine_gcps 329 41 in the command ?
--
David A. Ortiz V
De: Chaitanya kumar CH
Para: David Ortiz
CC: "gdal-dev@lists.osgeo.org"
Enviado: Jueves, enero 26, 2012 10:49
Le samedi 28 janvier 2012 00:55:32, lucvanlinden a écrit :
> Hi
>
> I successfully created an EHdr / Bil file using gdal_grid 400 by 400 pixels
> with 1 band from a series of preprocessed 3D vertices/points read from
> Postgis.
>
> In a second stage I would like to add 3D polygons to that same bi
Hi
I successfully created an EHdr / Bil file using gdal_grid 400 by 400 pixels
with 1 band from a series of preprocessed 3D vertices/points read from
Postgis.
In a second stage I would like to add 3D polygons to that same bil file
using gdal_rasterize.
These source polygons are in the same SRS an
Le vendredi 27 janvier 2012 11:09:00, Jukka Rahkonen a écrit :
> Hi,
>
> Here is a link to JPEG2000 image that is created by ERDAS Imagine with
> default settings
>
> http://latuviitta.org/documents/openjump_jpeg2000_erdas.jp2 (30 MB)
>
> It is created with ECW JPEG 2000 SDK v4.2.0.64
> There is
In my opinion the "mode" (majority) algorithm should be implemented
into gdalwarp, as it would solve re-gridding (to finer or coarser
grids) of thematic/discrete data.
The gdaladdo work-around (for coarser grids) is not very intuitive,
and does not work for finer re-gridding.
As there is existing
I believe my landcover data is a classified raster. It has a color
table and uses values like 11 for water and 12 for ice.
The majority algorithm I implemented that looked okay in the old code
used a number of the nearest neighbors. Taking just one nearest
neighbor made the blocky images I descr
Hi John,
If I may add a bit to the discussion, applying resampling algorithm other than
nearest neighbor to thematic layers such as land cover classification is not
really recommended.
However, if you want to smoothen the edges of your resampling output, I would
suggest a two steps approach:
-
Loïc, this sounds sorta like what I was doing in my code poorly, which
is why I turned to the command-line tools. Do you know whether any of
the GDAL command-line tools can apply a majority filter with a large
moving window?
Jack.
--
mathuin at gmail dot com
On Fri, Jan 27, 2012 at 12:05, Dutr
None of those resampling methods are well-suited to classified rasters
as far as I can tell.
The method that has worked best in the past was to take the majority
of a number of the nearest neighbors. The 'mode' algorithm in
gdaladdo may do that, but I haven't checked the source code.
Jack.
--
ma
27.01.2012 23:30, John Twilley пишет:
Cubic is fine for the elevation, but it doesn't work on the landcover.
which is the problem I originally mentioned.
Jack.
--
mathuin at gmail dot com
2012/1/27 Dmitry Baryshnikov:
27.01.2012 20:19, John Twilley пишет:
After retrieving the files and bui
> If you svn update from gdal trunk you should be able to build. I'm also
> interested in trying an OSGeo4W package for INGRES support but it is
> getting a bit late tonight to push on that.
Some great news, it's working!
I pulled from SVN, uncommented the INGRES variables in nmake.opt,
and I po
Cubic is fine for the elevation, but it doesn't work on the landcover.
which is the problem I originally mentioned.
Jack.
--
mathuin at gmail dot com
2012/1/27 Dmitry Baryshnikov :
> 27.01.2012 20:19, John Twilley пишет:
>
>> After retrieving the files and building VRTs from them, I run the
>>
John,
You are right. gdaladdo is not for creating higher resolution images. I
thought you needed the opposite.
I assume your landcover data is a classified raster. Classified data is
usually zoomed in with nearest neighbor interpolation. Unless you fiddle
with the interpolation window, the majorit
27.01.2012 20:19, John Twilley пишет:
After retrieving the files and building VRTs from them, I run the
following gdalwarp commands:
gdalwarp -q -multi -t_srs "+proj=aea +datum=NAD83 +lat_1=29.5
+lat_2=45.5 +lat_0=23 +lon_0=-96 +x_0=0 +y_0=0 +units=m" -tr 6 6 -te
2002944 2271744 2016768 2288640
I've never seen gdaladdo -- neat command! Alas, the overviews are the
wrong way 'round -- I don't need to zoom out, I need to zoom in.
gdaladdo doesn't handle fractional scale values well, so I can't make
something bigger out of something smaller like I can with gdalwarp.
Jack.
--
mathuin at gmai
After retrieving the files and building VRTs from them, I run the
following gdalwarp commands:
gdalwarp -q -multi -t_srs "+proj=aea +datum=NAD83 +lat_1=29.5
+lat_2=45.5 +lat_0=23 +lon_0=-96 +x_0=0 +y_0=0 +units=m" -tr 6 6 -te
2002944 2271744 2016768 2288640 \
-srcnodata -3402823466385288598117041
Hi Ralf,
do you use the same ogr2ogr command to create dxf from polygon data as I
did? Or do you work with additional configure options?
Greetings,
Verena
Am 27.01.2012 10:02, schrieb Ralf Suhr:
Hi Verena,
I'm using gdal 1.8.1 for the same task. ArcGIS, "Free DWG Viewer" and
DWG True Vi
Hi,
Here is a link to JPEG2000 image that is created by ERDAS Imagine with
default settings
http://latuviitta.org/documents/openjump_jpeg2000_erdas.jp2 (30 MB)
It is created with ECW JPEG 2000 SDK v4.2.0.64
There is nothing odd in the JPEG2000 parameters and Kakadu and a few other
program I trie
Chaitanya kumar CH gmail.com> writes:
>
>
> The SQL command to create a spatial index can be given through ogrinfo.ogrinfo
-sql "CREATE SPATIAL INDEX ON file1 [DEPTH N]" file1.shp
Good to know. I would suggest adding this example into shapefile driver page
http://gdal.org/ogr/drv_shapefile.htm
Hi Verena,
I'm using gdal 1.8.1 for the same task. ArcGIS, "Free DWG Viewer" and DWG True
View 2012 are able to open all gdal output without any error messages.
Gr
Ralf
On Freitag 27 Januar 2012 09:12:15 Verena Diewald wrote:
> Hi Ralf,
>
> Am 26.01.2012 17:20, schrieb Ralf Suhr:
> > Hi Veren
Hi Ralf,
Am 26.01.2012 17:20, schrieb Ralf Suhr:
Hi Verena,
can you provide more information. What software version did you use
(gdal, postgis).
PostgreSQL 9.0.4
PostGIS 1.5
GDAL 1.9dev
What kind of geometries is in the database.
psql -d mydb -c "SELECT DISTINCT GeometryType( geom_colu
23 matches
Mail list logo