Opened 17 years ago

Closed 17 years ago

#1703 closed defect (invalid)

MapInfo driver: RuntimeError SetSpatialRef() can be used only with Write access

Reported by: Ari Jolma Owned by: dmorissette@…
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

This is a test code to see this error

use Geo::GDAL;
$driver = Geo::OGR::GetDriverByName ('MapInfo File');
$datasource = $driver->CreateDataSource('.');
$osr = new Geo::OSR::SpatialReference;
$osr->SetWellKnownGeogCS('WGS84');
$layer = $datasource->CreateLayer('test', $osr, $Geo::OGR::wkbPoint);

Change History (1)

comment:1 by Ari Jolma, 17 years ago

Resolution: invalid
Status: newclosed

sorry, this was due to not compiling all new files from repository

Note: See TracTickets for help on using tickets.