Opened 17 years ago

Closed 16 years ago

#2273 closed defect (fixed)

msautotest-wxs fails with Projection library error

Reported by: tamas Owned by: nsavard
Priority: high Milestone: 5.0.3 release
Component: msautotest Version: 5.0
Severity: normal Keywords:
Cc: jmckenna@…, dmorissette, tomkralidis, assefa

Description

Currently there's no chance to specifiy the special locations of the EPSG files in the OWS requests, however some of the mapfiles specify relative paths in the PROJECTION parameter which is overridden by the SRS specified in the QUERY_STRING. All of the corresponding tests fails with:

msProcessProjection(): Projection library error. no options found in 'init' file

Unless the corresponding secton for this SRS is added to C:\proj\epsg on Windows for example.

Therefore we should avoid special codes 42304 in the tests for eliminating the dependency of the external epsg files.

Change History (8)

comment:1 by jmckenna, 17 years ago

Cc: jmckenna@… added

comment:2 by dmorissette, 17 years ago

Cc: dmorissette tomkralidis assefa added
Milestone: 5.0 release
Owner: changed from warmerdam to nsavard

comment:3 by tomkralidis, 16 years ago

Norm: doing a grep epsg msautotest/wxs/*.map shows all the epsg codes used. The only code which is not in the standard /usr/local/share/proj/epsg is 42304.

When I comment out 42304 from this file, and run msautotest/wxs, I get the same skipped/passed/failure rate as when 42304 is included in /usr/local/share/proj/epsg. I notice the inclusion of msautotest/wxs/data/epsg2 which defines 42304.

Since this file is part of msautotest, can we consider it okay to test against 42304?

in reply to:  3 ; comment:4 by nsavard, 16 years ago

Replying to tomkralidis:

Norm: doing a grep epsg msautotest/wxs/*.map shows all the epsg codes used. The only code which is not in the standard /usr/local/share/proj/epsg is 42304.

When I comment out 42304 from this file, and run msautotest/wxs, I get the same skipped/passed/failure rate as when 42304 is included in /usr/local/share/proj/epsg. I notice the inclusion of msautotest/wxs/data/epsg2 which defines 42304.

Tom: You meant when you comment out the projection in the definition. Is it?

in reply to:  4 comment:5 by nsavard, 16 years ago

Replying to nsavard:

Replying to tomkralidis:

Norm: doing a grep epsg msautotest/wxs/*.map shows all the epsg codes used. The only code which is not in the standard /usr/local/share/proj/epsg is 42304.

When I comment out 42304 from this file, and run msautotest/wxs, I get the same skipped/passed/failure rate as when 42304 is included in /usr/local/share/proj/epsg. I notice the inclusion of msautotest/wxs/data/epsg2 which defines 42304.

Tom: You meant when you comment out the projection in the definition. Is it?

Tom: Forget about this question. This problem is fixed since I changed the map projection to a standard one (EPSG:4326).

comment:6 by tomkralidis, 16 years ago

Thanks Norm. Can we close?

in reply to:  6 comment:7 by nsavard, 16 years ago

Replying to tomkralidis:

Thanks Norm. Can we close?

Yes you can close.

comment:8 by tomkralidis, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.