Home > Net >  C # the actual latitude and longitude is transformed into screen coordinates
C # the actual latitude and longitude is transformed into screen coordinates

Time:09-29

Winform converts actual longitude and latitude into screen coordinates, on the schematic picture show, known two screen coordinates and correspond the actual latitude and longitude, and give some implementation ideas, thank you, picture loading diagram, then the image displayed on the point,

CodePudding user response:

Divided into 360 equal parts, according to the geographic knowledge to find area
I'm so smart

CodePudding user response:

Arcengine solve

CodePudding user response:

Starting point - starting point X coordinates longitude
End - the end longitude coordinates X

It is ok then geometric operations

CodePudding user response:

Have not learned professional knowledge, cartography maps is to have a variety of projection, projection of different geographic is also different,

Even if you show pictures of standard Mercator projection, you are going to show all the world map? Is not the origin of the concept of latitude and longitude is involved and the concept of scale,

Advice first take a look at a map projection related knowledge, you will know what to do,

CodePudding user response:

ArcGIS cannot meet the requirements?

CodePudding user response:

Never make, "c # the world coordinates of the word" search and see?

CodePudding user response:

fat uncle write code reference 4 floor response:
never learn professional knowledge, cartography maps is to have a variety of projection, projection of different geographic is also different,

Even if you show pictures of standard Mercator projection, you are going to show all the world map? Is not the origin of the concept of latitude and longitude is involved and the concept of scale,

Advice first take a look at a map projection related knowledge, you will know what to do,

Presents a sketch, picture images

CodePudding user response:

If is small, can be directly according to the scaling

CodePudding user response:

It is to reduce the ah, have what problem?

CodePudding user response:

Third party gis control, baidu

CodePudding user response:

refer to the eighth floor caozhy response:
if is small range, according to the scaling down directly can

Is a small scale, no third party controls, with pictures and drawing on the image, how precise latitude and longitude and screen coordinates

CodePudding user response:

1, the latitude and longitude is a spherical coordinate system; Raster images generally use projection coordinates, which is a plane coordinate system, the different ways of projective coordinates conversion between the two is different also, you can need not tube what is the screen coordinates, just make sure the image coordinate system and location, can calculate the corresponding projection coordinates of a pixel,
2, the location information of image is not normal, there may be, if it is a mobile phone camera Attributes: first you have to give to the picture space coordinate system, location, and then only know a point corresponding to the latitude and longitude coordinates is not enough, three points to determine a plane, the more points of course registration accuracy is higher,

CodePudding user response:

You can add a friend, to help me with it? For, finally logo position on the image, I can measure a few points

CodePudding user response:

The
refer to 12 floor llllinlink reply:
1, the latitude and longitude is a spherical coordinate system; Raster images generally use projection coordinates, which is a plane coordinate system, the different ways of projective coordinates conversion between the two is different also, you can need not tube what is the screen coordinates, just make sure the image coordinate system and location, can calculate the corresponding projection coordinates of a pixel,
2, the location information of image is not normal, there may be, if it is a mobile phone camera Properties: first you have to give to the picture space coordinate system, location, and then only know a corresponding latitude and longitude coordinates of also is not enough, three points to determine a plane, the more points of course registration accuracy is higher,

You can add a friend, to help me with it? For, finally logo position on the image, I can measure a few points

CodePudding user response:

Gis project I are generally made of arcgis that a set of products, you can learn about the specific transformation algorithm is quite complicated, I don't have a true,

CodePudding user response:

reference 15 floor llllinlink response:
gis project I are generally made of arcgis that a set of products, you can learn about the specific transformation algorithm is quite complicated, I don't have a true,

Thank you, plug-in can't satisfy the, I this is a small sketch, just a picture reproduction,

CodePudding user response:

refer to 7th floor does not leave the reply:
Quote: fat uncle write code reference 4 floor response:
never learn professional knowledge, cartography maps is to have a variety of projection, projection of different geographic is also different,

Even if you show pictures of standard Mercator projection, you are going to show all the world map? Is not the origin of the concept of latitude and longitude is involved and the concept of scale,

Advice first take a look at a map projection related knowledge, you will know what to do,

Presents a sketch, picture picture

That is more complex, it is recommended that you look at the map projection, and then how to convert it again

CodePudding user response:

There is an implementation ideas such as gauss projection transfer XY and you locate the center of the current and then according to the position in the center of the screen to calculate
If you understand the unity will know that unity there own screen coordinates turn 2 d coordinates method
Your current operation is the first round of 2 d and 2 d GPS screen coordinates but unity open source you can learn more about the emm to tell the truth I haven't seen the code but there are ready-made at least can reference! Can be directly pasted inside the winform is a bit sick, after all, there is no API for you to call the unity inside there is a current camera problem so you can see if G website is implementation method.
  •  Tags:  
  • C#
  • Related