Closed bkielczewski closed 8 months ago
local-gdalwarp was just a locally compiled new version to improve memory use. Modern gdalwarp should be fine.
Additionally the X/Y change can be resolved with
$srout->SetAxisMappingStrategy($Geo::OSR::OAMS_TRADITIONAL_GIS_ORDER);
after
my $srout = Geo::OSR::SpatialReference->new('EPSG' => 4326) ;
This may also fix your Cape Lisburne issue.
I've made both changes to the repository.
That did it, thank you. My minimal goal is to produce some docker container(s) to build the maps and run the server. I'll share a fork once I get something working.
The fork is https://github.com/bkielczewski/faa-charts
Thanks for making the code available.
So I have it running with modified Dockerfile and no changes to the code:
Running I'm stuck on this one:
Backtracking:
= Inf
( $refbox[$refcount]->{'x_p'}, $refbox[$refcount]->{'y_p'} ) = xy_gt( $refbox[$refcount]->{'x_m'}, $refbox[$refcount]->{'y_m'}, @igt );
= NaN, NaN
= Inf, Inf
Help? If I reverse $x, $y for TransformPoint (it seems in bref is lon lat and transformpoint expects lat lon) it proceeds further. But then:
What's
/home/mapserv/bin/local-gdalwarp
, some wrapper over gdalwarp? What does it do?I'd really appreciate suggestions.
Best, b.