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: | |
---|---|---|---|
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);
Note:
See TracTickets
for help on using tickets.
sorry, this was due to not compiling all new files from repository