Yes, sure.

My custom projection In usual form:

PROJCS["Malaysia_Cassini_Selangor",GEOGCS["Kertau 1968",DATUM["Kertau
1968",SPHEROID["Everest 1830 Modified", 6377304.063, 300.8017,
AUTHORITY["EPSG","7018"]], TOWGS84[-11.0, 851.0, 5.0, 0.0, 0.0, 0.0, 0.0],
AUTHORITY["EPSG","6245"]], PRIMEM["Greenwich", 0.0,
AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295],
AUTHORITY["EPSG","4245"]],PROJECTION["Cassini-Soldner",
AUTHORITY["EPSG","9806"]],PARAMETER["central_meridian",
101.5082444],PARAMETER["latitude_of_origin",
3.680344444],PARAMETER["scale_factor", 1.0],PARAMETER["false_easting",
-21759.43848],PARAMETER["false_northing", 55960.90576],UNIT["m",
1.0],AUTHORITY["EPSG","96995"]]


The same slightly formatted:

PROJCS[
  "Malaysia_Cassini_Selangor",
  GEOGCS[
    "Kertau 1968",
    DATUM[
      "Kertau 1968",
      SPHEROID[
        "Everest 1830 Modified",
        6377304.063,
        300.8017,
        AUTHORITY["EPSG","7018"]
      ],
      TOWGS84[-11.0, 851.0, 5.0, 0.0, 0.0, 0.0, 0.0],
      AUTHORITY["EPSG","6245"]
    ],
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
    UNIT["degree", 0.017453292519943295],
    AUTHORITY["EPSG","4245"]
  ],
  PROJECTION["Cassini-Soldner", AUTHORITY["EPSG","9806"]],
  PARAMETER["central_meridian", 101.5082444],
  PARAMETER["latitude_of_origin", 3.680344444],
  PARAMETER["scale_factor", 1.0],
  PARAMETER["false_easting", -21759.43848],
  PARAMETER["false_northing", 55960.90576],
  UNIT["m", 1.0],
  AUTHORITY["EPSG","96995"]
]


EPSG:96995 is not official number connected to this custom projection.
I have build this projection using EPSG:24500 mentioned in geotools project
at
\modules\plugin\epsg-wkt\src\main\resources\org\geotools\referencing\crs\epsg.properties

24500=PROJCS["Kertau 1968 / Singapore Grid", GEOGCS["Kertau 1968",
DATUM["Kertau 1968", SPHEROID["Everest 1830 Modified", 6377304.063,
300.8017, AUTHORITY["EPSG","7018"]], TOWGS84[-11.0, 851.0, 5.0, 0.0, 0.0,
0.0, 0.0], AUTHORITY["EPSG","6245"]], PRIMEM["Greenwich", 0.0,
AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST], AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4245"]], PROJECTION["Cassini-Soldner",
AUTHORITY["EPSG","9806"]], PARAMETER["central_meridian",
103.85300222222226], PARAMETER["latitude_of_origin", 1.2876466666666673],
PARAMETER["scale_factor", 1.0], PARAMETER["false_easting", 30000.0],
PARAMETER["false_northing", 30000.0], UNIT["m", 1.0], AXIS["Easting", EAST],
AXIS["Northing", NORTH], AUTHORITY["EPSG","24500"]]


Also, I have to say that I have already added my projection in
<GEOSERVER_DATA_DIR>\user_projections\epsg.properties

So, waiting for your answer. It is very important for me. Thank you.



2011/5/20 Andrea Aime <[email protected]>

> On Fri, May 20, 2011 at 1:06 AM, Serge Markin <[email protected]>wrote:
>
>> Hi all,
>>
>> I need to add raster layer to the GeoServer. Application uses custom
>> PROJCS with self defined EPSG code. I am preparing image with help of Global
>> Mapper v12, but I suppose it save GeoTIFF with some errors in SRS, so I
>> manually change it with the following command:
>>
>> gdal_translate -strict -a_srs projection.prj foo.tif bar.tif
>>
>
> To answer your question wee need to see your custom projection. Can you
> paste it in a mail?
>
> Cheers
> Andrea
>
>
> --
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:      +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to