Thank you for making it clear <span class="JDpiNd"></span><span>Nicolas</span>. I added my countries projection to Postgis and it works like a charm, will leave some info about MOLDREF 99 and how to define it in case someone needs it.<br>
<br>Here is the SQL query to add MOLDREF 99 into postgis::<br><pre>INSERT INTO public.spatial_ref_sys (srid, auth_name, auth_srid, srtext, proj4text) VALUES (<br>100099<br>,'EPSG'<br>,100099<br>,'PROJCS["MOLDREF99",GEOGCS["MOLDREF99",DATUM["European_Terrestrial_Reference_System_1989",SPHEROID["GRS1980",6378137,298.257222101],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["degree",0.01745329251994328],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",28.4],PARAMETER["scale_factor",0.99994],PARAMETER["false_easting",200000],PARAMETER["false_northing",-5000000],UNIT["metre",1]'<br>
,'+proj=tmerc +lat_0=0 +lon_0=28.4 +k=0.999940 +x_0=200000 +y_0=-5000000 +ellps=GRS80 +towgs84=-O,0,0,0,0,0,0 +units=m +no_defs'<br>);<br><br>more details about MOLDREF 99 can be found in my blog article: <a href="http://iap.md/blog/detailed/id/9">http://iap.md/blog/detailed/id/9</a><br>
</pre><div class="gmail_quote">On Mon, Dec 8, 2008 at 1:17 PM, Nicolas Ribot <span dir="ltr"><<a href="mailto:nicky666@gmail.com">nicky666@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">> Good day all<br>
><br>
> My country has the following coordinate system MOLDREF 99:<br>
> # MOLDREF 99<br>
> <100099> +proj=tmerc +lat_0=0 +lon_0=28g24m +k=0.99994 +x_0=200000<br>
> +y_0=-5000000 ellps=GRS80 +units=m +no_defs<br>
><br>
> This is proj4 definition, now I need to add this projection to Postgis and I<br>
> don't understand some parameters like:<br>
><br>
> AUTHORITY - ?<br>
<br>
</div>Hi Pavel,<br>
<br>
As postgis uses Proj4 to perform transformation operations, the useful<br>
entries in spatial_ref_sys table is SRID and proj4text.<br>
<br>
Authority is supposed to be the name of the Reference authority that<br>
delivered/defined the projection (that could be the name of the<br>
official geographic institute in your country, for instance). It is<br>
used for informational purpose only.<br>
<div class="Ih2E3d"><br>
><br>
> UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]] - ?<br>
> PARAMETER["scale_factor",0.9999] - this is "k" i guess , correct ?<br>
<br>
</div>Yes<br>
<div class="Ih2E3d"><br>
> PRIMEM - I know what datum and projections are, what does PRIMEM stands for<br>
> ?<br>
<br>
</div>It stands for Prime Meridian, (Greenwich, Paris, ...) The reference<br>
for longitude origin.<br>
<br>
Nicolas<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://iap.md">http://iap.md</a>, The future is open<br>