Forum

Author Topic: local projektion coordinatsystem help to write referen file or prj file  (Read 187 times)

nils-erik

  • Newbie
  • *
  • Posts: 4
    • View Profile
my projekt is dong a dtm over a maining. i have use a dji phanton 4 v2. and doning the process a 3d modell in Agisoft.
the main have a local coordinatsystem so i need help to crate a prj. so i can transformation coordinats before procssing or maby after but i think is better to doit in the process.
i have measure my gcp point in the lokal cystem and with sweref992015. with gnss trimble. inte the instrement i have korention to the lokal system.

mainings system hvae a rotation in the coordinatsystem.

I have taket out samthing from the trimble it is a jxl fil from the coordinats. maby this kan use to do a prj file i no sure and i dont no hoe i crate/whrit a prj fil.
I have a csw file to but i dot now hoe the fils work. 

<?xml version="1.0" encoding="utf-8"?>
<JOBFile jobName="Zone Site Aitik Lokala 0909" version="5.2" product="Coordinate System Manager" productVersion="3.7.1.0" TimeStamp="2021-10-01T19:25:46" xsi:schemaLocation="http://www.trimble.com/schema/JobXML/5_2 http://www.trimble.com/schema/JobXML/5_2/JobXMLSchema-5.2.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <FieldBook />
  <Reductions />
  <Environment>
    <CoordinateSystem>
      <SystemName>Site</SystemName>
      <ZoneName>Aitik Lokala 0909</ZoneName>
      <DatumName>Datum from data collector</DatumName>
      <Ellipsoid>
        <EarthRadius>6377397.155</EarthRadius>
        <Flattening>0.00334277316935</Flattening>
      </Ellipsoid>
      <Projection>
        <Type>TransverseMercator</Type>
        <Scale>1</Scale>
        <CentralLatitude>0</CentralLatitude>
        <CentralLongitude>20.3082777777777</CentralLongitude>
        <FalseNorthing>0</FalseNorthing>
        <FalseEasting>1500000</FalseEasting>
        <GridOrientation>IncreasingNorthEast</GridOrientation>
        <SouthAzimuth>false</SouthAzimuth>
        <ApplySeaLevelCorrection>true</ApplySeaLevelCorrection>
      </Projection>
      <LocalSite>
        <Type>Grid</Type>
        <ProjectLocationLatitude />
        <ProjectLocationLongitude />
        <ProjectLocationHeight />
      </LocalSite>
      <Datum>
        <Type>SevenParameter</Type>
        <GridName>Datum from data collector</GridName>
        <Direction>WGS84ToLocal</Direction>
        <EarthRadius>6377397.155</EarthRadius>
        <Flattening>0.00334277316935</Flattening>
        <RotationX>0.00023623840803</RotationX>
        <RotationY>0.00050479016227</RotationY>
        <RotationZ>-0.00218395708080</RotationZ>
        <TranslationX>-419.37502063361995</TranslationX>
        <TranslationY>-99.352022523247</TranslationY>
        <TranslationZ>-591.34897364935</TranslationZ>
        <Scale>1.0000009949609898</Scale>
      </Datum>
      <HorizontalAdjustment>
        <Type>NoAdjustment</Type>
      </HorizontalAdjustment>
      <VerticalAdjustment>
        <Type>NoAdjustment</Type>
      </VerticalAdjustment>
      <CombinedScaleFactor>
        <Location>
          <Latitude />
          <Longitude />
          <Height />
        </Location>
        <Scale />
      </CombinedScaleFactor>
    </CoordinateSystem>
  </Environment>
</JOBFile>
« Last Edit: October 03, 2021, 02:24:21 PM by nils-erik »

Paulo

  • Hero Member
  • *****
  • Posts: 748
    • View Profile
Re: local projektion coordinatsystem help to wiirit prj file
« Reply #1 on: October 02, 2021, 07:40:43 PM »
Hi Nils,

your custom prj for your area of interest could be defined by following prj file....
Code: [Select]
PROJCS["RT90_Transverse Mercator",
GEOGCS["RT90",
DATUM["Rikets koordinatsystem 1990",
SPHEROID["Bessel 1841",6377397.155,299.1528128,AUTHORITY["EPSG","7004"]],
TOWGS84[419.37,99.35,591.35,-0.850,-1.817,7.862,-0.995],AUTHORITY["EPSG","6124"]],
PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],
UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9102"]],AUTHORITY["EPSG","4124"]],
PROJECTION["Transverse_Mercator",AUTHORITY["EPSG","9807"]],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",20.3082777777777],
PARAMETER["scale_factor",1],
PARAMETER["false_easting",1500000],
PARAMETER["false_northing",0],
UNIT["metre",1,AUTHORITY["EPSG","9001"]]]

Hpe this can get you going....
« Last Edit: October 03, 2021, 05:53:35 PM by Paulo »
Best Regards,

Paul Pelletier

nils-erik

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: local projektion coordinatsystem help to write referen file or prj file
« Reply #2 on: October 03, 2021, 04:05:45 PM »

I can not do this and work.
how to get a transformation with this in agisoft. how to import this into agisoft, I get nothing to work.

Paulo

  • Hero Member
  • *****
  • Posts: 748
    • View Profile
Re: local projektion coordinatsystem help to write referen file or prj file
« Reply #3 on: October 03, 2021, 05:44:36 PM »
Nils,

just save the text I posted as RT90_TM.prj and then in Metashape, use reference settings > More to load this file .  See first attachment. You will now have the CRS system defined as RT90_Transverse Mercator.

You can place a marker and see its coordinates in RT90_TM, convert to WGS84 and see their cordinates in geographic...see 2nd attachement...

You can always send me a PM if you need more help,
« Last Edit: October 03, 2021, 05:54:19 PM by Paulo »
Best Regards,

Paul Pelletier

nils-erik

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: local projektion coordinatsystem help to write referen file or prj file
« Reply #4 on: October 03, 2021, 06:52:32 PM »
Yes but rt 90 is not atik lokal koordinat.

aitik have owen system

The trimble instrumet gnss use wgs 84 and traformit to Atik lolokal.
Dron use wgs 84 to so i need to convert this coordinat to aitik lokal.

i thnk it iser to process it in Atiksystem direktly.
(if i  procsses in sweref99 2015 so maby can  tranformation the point cloud to atik system after the process i need a tranforations fils to do that. )

i ned levery the point cloud in aitik system.

my tarkegts gcp are measur in atik system (and sweref99 2015 for safe) the  ( geoid i use in both system i swen08 rh2000) 

Atik lokal coordinats
   N      E      Z   
4    984.545   3801.826   73.779
3   1006.161   3788.558   70.923
1   1054.050   3891.162   70.444
2   1081.061   3857.677   65.519

Sweref99 2015
   N      E      Z
4   7 442 016.626   174 032.913   434.735
3   7 442 034.331   174 051.046   431.878
2   7 441 983.420   174 139.350   426.486
1   7 441 944.793   174 120.394   431.389
« Last Edit: October 03, 2021, 08:42:48 PM by nils-erik »