Re: [gdal-dev] Re-aligning maps from grid north to true north

2010-01-27 Thread Peter J Halls
Gary, what do you mean by 'true north'? OSGB36 is a Transverse Mercator projection: it is, therefore, automatically aligned with a (reference) line of longitude, its central meridian. It is not aligned to magnetic north: those little diagrams on the maps show the offset to magnetic nor

Re: [gdal-dev] Runtime error on executing "OGRRegisterAll()" function.

2010-01-27 Thread Frank Warmerdam
On Thu, Jan 28, 2010 at 9:03 AM, Mateusz Loskot wrote: > By the way, makefile.vc of PCIDISK SDK [1] pulled from external location > to frmts/pcidsk/sdk override the flags specified in nmake.opt > and explicitly set to /MD > > This may also potentially cause problems while you'll be debugging your

Re: [gdal-dev] Projection for OSGB36

2010-01-27 Thread Frank Warmerdam
On Wed, Jan 27, 2010 at 7:20 PM, Smart, Gary wrote: > I have a series of OS map TIF files with associated tfw files.  However, the > tif files contain no information about the projection.  I understand that > these files are using OSGB36 AIRY1830 > > > > Can anyone tell me the precise text specifi

Re: [gdal-dev] Re-aligning maps from grid north to true north

2010-01-27 Thread Frank Warmerdam
On Thu, Jan 28, 2010 at 2:01 AM, Smart, Gary wrote: > We have tif maps which are OSGB grid aligned, but we need them aligned to > true-north.  I presume this could be achieved by gdalwarp.  Can anyone give > me a clue how to do this?  Am I right in thinking that simply setting the > correct s_srs

Re: [gdal-dev] grid from point dataset without interpolation

2010-01-27 Thread Frank Warmerdam
Matthew, I am not aware of a utility that reads ascii point data and directly creates a grid file without any attempt to interpolate. You could take a couple approaches. One is to write a script in a language like Python that will do the task and write the result out to a GDAL supported grid for

Re: [gdal-dev] Altering the GeoTransform matrix with World files and VRT files

2010-01-27 Thread Frank Warmerdam
On Wed, Jan 27, 2010 at 4:12 PM, Craig Leat wrote: > Hi Frank, > > Frank Warmerdam wrote: >> The mechanism that Jukka mentions is MapServer-only. >> Reviewing the code, it appears that shapefiles are still >> just a fallback if no georeferencing is found internally. >> >> I am not aware of softwar

Re: [gdal-dev] Runtime error on executing "OGRRegisterAll()" function.

2010-01-27 Thread Mateusz Loskot
vadi_nabble wrote: > Hi Mateusz, First of all I would like to thank you for giving a > proper solution to my problem. I'm glad you got it fixed. > My issue has got resolved after making changes as suggested by you. > Its has been over a week I was struggling on this issue. By the way, makefile.v

Re: [gdal-dev] geolocation info in netCDF: "northernmost_northing" etc. not universal

2010-01-27 Thread Frank Warmerdam
On Wed, Jan 27, 2010 at 2:22 AM, Bruce Raup wrote: > We propose using terms such as > > grid_top_boundary_projected_y > grid_bottom_boundary_projected_y > grid_left_boundary_projected_x > grid_right_boundary_projected_x > > Alternatively, grid corner coordinates could be used. > > What would the

RE: [gdal-dev] Projection for OSGB36

2010-01-27 Thread Smart, Gary
OK - have imported the OSGB36 GEOGCS using the line from the ecw_cs.wkt file (with first field removed! Oops) Now I need to transform from OSGB36 to WGS84. I have set up the OGRSpatialReference of the input using importFromWkt and the output using setWellKnownGeogCS("WGS84"). The OGR Transform a

[gdal-dev] Re-aligning maps from grid north to true north

2010-01-27 Thread Smart, Gary
We have tif maps which are OSGB grid aligned, but we need them aligned to true-north. I presume this could be achieved by gdalwarp. Can anyone give me a clue how to do this? Am I right in thinking that simply setting the correct s_srs and t_srs would achieve everything I need? If so - what part

[gdal-dev] Re: gdal-dev Digest, Vol 68, Issue 56

2010-01-27 Thread Eli Adam
bed... URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100127/eb373888/attachment-0001.html -- ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Reading jpeg 2000 compressed nitfs

2010-01-27 Thread jim hopper
Thanks. If I build gdal with kadaku will that support it? Best jim On 1/25/10 11:28 PM, "Frank Warmerdam" wrote: > James, > > I have reviewed nitfdataset.cpp and jpeg2000dataset.cpp > (the JasPer driver) and I believe they are now compatible. > That is, nitf now uses the /vsisubfile/ mechan

Re: [gdal-dev] 1.7.0 compile with MSVC 2008 fails on NITF

2010-01-27 Thread Jeff McKenna
Yewondwossen Assefa wrote: Jeff, I run into the same issue and my quick fix was to: - cd gdal-1.7.0/frmts/jpeg - nmake -f makefile.vc and come back to the the main gdal-1.7.0/ and continue with the build The problem comes from the fact that jpeg12 needs to be build before nitf (that is wher

[gdal-dev] grid from point dataset without interpolation

2010-01-27 Thread Matthew Snape
Hi, I have a set of points in a shapefile that represent gridded height data. I would like to convert them to a raster without using any interpolation, merely using each point as the centre of a cell. I have tried using gdal_grid with the nearest algorithm but this appears very slow. Is there

Re: [gdal-dev] 1.7.0 compile with MSVC 2008 fails on NITF

2010-01-27 Thread Yewondwossen Assefa
Jeff, I run into the same issue and my quick fix was to: - cd gdal-1.7.0/frmts/jpeg - nmake -f makefile.vc and come back to the the main gdal-1.7.0/ and continue with the build The problem comes from the fact that jpeg12 needs to be build before nitf (that is where files such as jpeglib.h ar

[gdal-dev] 1.7.0 compile with MSVC 2008 fails on NITF

2010-01-27 Thread Jeff McKenna
Hello all, I am trying to compile GDAL 1.7.0 with MSVC 2008, but for some reason my compile fails, when it seems to get to the 'nitf' format: ** nitfwritejpeg_12.cpp d:\build\mapserver-buildkit-2008\gdal_1_7_0\frmts\nitf\nitfwritejpeg.cpp(40) : fatal error C1083: Cannot o

[gdal-dev] Projection for OSGB36

2010-01-27 Thread Smart, Gary
I have a series of OS map TIF files with associated tfw files. However, the tif files contain no information about the projection. I understand that these files are using OSGB36 AIRY1830 Can anyone tell me the precise text specification I need to be able to set up this projection. An ex

Re: [gdal-dev] Building gdal with dxf support?

2010-01-27 Thread Michael Schulz
Hi, thanks, this solved it. Michael 2010/1/27 Chaitanya kumar CH : > Micheal, > > Try the 'touch' command on the files in the dxf directory to update the > timestamps. > > 2010/1/27 Michael Schulz >> >> Hi, >> >> I just tried downloading and building the latest gdal, version 1.7.0. >> I wanted

Re: [gdal-dev] Building gdal with dxf support?

2010-01-27 Thread Chaitanya kumar CH
Micheal, Try the 'touch' command on the files in the dxf directory to update the timestamps. 2010/1/27 Michael Schulz > Hi, > > I just tried downloading and building the latest gdal, version 1.7.0. > I wanted to build it with the new dxf support. The dxf dir is present > in the source tree. Whi

[gdal-dev] Building gdal with dxf support?

2010-01-27 Thread Michael Schulz
Hi, I just tried downloading and building the latest gdal, version 1.7.0. I wanted to build it with the new dxf support. The dxf dir is present in the source tree. While making ogr it enters the dxf dir but does nothing: make -C dxf make[1]: Entering directory `/usr/local/src/gdal-1.7.0/ogr/ogrsf

Re: [gdal-dev] Building GDAL Application gdal1.6.3 on VC++2008 Pro Edition Document

2010-01-27 Thread Tamas Szekeres
Hi Vadivelan, The GDAL build instructions should normally go to http://trac.osgeo.org/gdal/wiki/BuildHints If you see something missing here, feel free to edit the wiki with your additional information. Best regards, Tamas 2010/1/27 vadi_nabble > > Hi, > Last 2 weeks I was trying to build

[gdal-dev] Building GDAL Application gdal1.6.3 on VC++2008 Pro Edition Document

2010-01-27 Thread vadi_nabble
Hi, Last 2 weeks I was trying to build a GDAL application "gdal1.6.3" on VC++ 2008 Pro Edition. However, I was getting some compilation and Run time error on building and Running. What I found is I need to set namke.opt file properly for successfull compilation and exection. I have created

Re: [gdal-dev] Runtime error on executing "OGRRegisterAll()" function.

2010-01-27 Thread vadi_nabble
Hi Mateusz, First of all I would like to thank you for giving a proper solution to my problem. My issue has got resolved after making changes as suggested by you. Its has been over a week I was struggling on this issue. Thanks a lot. Vadivelan -- View this message in context: http://n2.nabble

Re: [gdal-dev] Support for GML 3

2010-01-27 Thread massimo costantini
Thank's a lot, someone know if GML3 support for writing is under costruction or not? On Tue, Jan 26, 2010 at 8:22 PM, Even Rouault wrote: > Massimo, > > it depends on if you're interested by the read side or the write side of the > GML driver ! > * For the read side, it's designed for GML2 but so

Re: [gdal-dev] Altering the GeoTransform matrix with World files and VRT files

2010-01-27 Thread Craig Leat
Hi Frank, Frank Warmerdam wrote: > The mechanism that Jukka mentions is MapServer-only. > Reviewing the code, it appears that shapefiles are still > just a fallback if no georeferencing is found internally. > > I am not aware of software for overriding mrsid georeferencing > in the file. Would it