<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello all!<br>
<br>
I'm trying to display some layers (ESRI Shapefile and MapInfo) in the
same map. The ESRI shapefiles work just fine, and I've used them for a
long time. The new MapInfo layer however has very different "Extent"
values for its coordinates and does not overlap with the original
layers (they should overlap, because they cover the same area).<br>
<br>
Here is some output from ogrinfo:<br>
<br>
1. A layer that displays ok and for which the coordinates are
longitude/latitude:<br>
<br>
[adrianp@server data]$ ogrinfo Limits.shp -so -al<br>
Had to open data source read-only.<br>
INFO: Open of `Limits.shp'<br>
      using driver `ESRI Shapefile' successful.<br>
<br>
Layer name: Limits<br>
Geometry: Line String<br>
Feature Count: 8718<br>
<b>Extent: (20.261522, 43.618437) - (29.704897, 48.264780)</b><br>
Layer SRS WKT:<br>
GEOGCS["GCS_WGS_1984",<br>
    DATUM["WGS_1984",<br>
        SPHEROID["WGS_1984",6378137.0,298.257223563]],<br>
    PRIMEM["Greenwich",0.0],<br>
    UNIT["Degree",0.0174532925199433]]<br>
OBJECTID_1: Integer (9.0)<br>
TIP: Integer (4.0)<br>
Shape_Leng: Real (19.11)<br>
<br>
2. A layer which displays if I set the Extent parameter in the MAP file
to the values returned by ogrinfo:<br>
<br>
[adrianp@server data]$ ogrinfo coverage.TAB -so -al<br>
Had to open data source read-only.<br>
INFO: Open of `coverage.TAB'<br>
      using driver `MapInfo File' successful.<br>
<br>
Layer name: coverage<br>
Geometry: Unknown (any)<br>
Feature Count: 1<br>
<b>Extent: (550.002594, 4830850.004496) - (707800.001127,
5318099.996174)</b><br>
Layer SRS WKT:<br>
PROJCS["unnamed",<br>
    GEOGCS["unnamed",<br>
        DATUM["WGS_1984",<br>
            SPHEROID["WGS 84",6378137,298.257223563],<br>
            TOWGS84[0,0,0,-0,-0,-0,0]],<br>
        PRIMEM["Greenwich",0],<br>
        UNIT["degree",0.0174532925199433]],<br>
    PROJECTION["Transverse_Mercator"],<br>
    PARAMETER["latitude_of_origin",0],<br>
    PARAMETER["central_meridian",27],<br>
    PARAMETER["scale_factor",0.9996],<br>
    PARAMETER["false_easting",500000],<br>
    PARAMETER["false_northing",0],<br>
    UNIT["Meter",1.0]]<br>
LEGEND: String (50.0)<br>
THRESHOLD: Real (0.0)<br>
COLOR: String (20.0)<br>
Prediction_name: String (50.0)<br>
<br>
<br>
I don't know how the second layer was generated (perhaps the values in
extent are not longitude/latitude values), but I would like to display
both layers in the same coordinate system.<br>
If I consider the second set of values is longitude/latitude, they make
no sense (unless the surface of Earth is the same as the surface of
Jupiter!).<br>
<br>
My question is: can mapserver do the translation of coordinates (by
adding/substracting a fixed value), or do I need to do this with
another system?<br>
If the solution is external to mapserver, what's my next step (some
manuals please!)?<br>
<br>
I haven't worked with projections; could this be the cause?<br>
<br>
Any help is appreciated, thanks!<br>
Adrian<br>
<br>
</body>
</html>