How to create a GCP (*.points) file from a Shapefile (points layer)Georeferencing scanned map using...

How can I practically buy stocks?

Why does nature favour the Laplacian?

bldc motor, esc and battery draw, nominal vs peak

Can SQL Server create collisions in system generated constraint names?

Function pointer with named arguments?

How much cash can I safely carry into the USA and avoid civil forfeiture?

Is there any official lore on the Far Realm?

555 timer FM transmitter

Contradiction proof for inequality of P and NP?

Apply MapThread to all but one variable

Dynamic SOQL query relationship with field visibility for Users

Was there a shared-world project before "Thieves World"?

What happened to Captain America in Endgame?

What's the polite way to say "I need to urinate"?

Can I grease a crank spindle/bracket without disassembling the crank set?

Was there a Viking Exchange as well as a Columbian one?

How to denote matrix elements succinctly?

What is the smallest unit of eos?

Checks user level and limit the data before saving it to mongoDB

Re-entry to Germany after vacation using blue card

Why did C use the -> operator instead of reusing the . operator?

How to write a column outside the braces in a matrix?

Is there really no use for MD5 anymore?

Map of water taps to fill bottles



How to create a GCP (*.points) file from a Shapefile (points layer)


Georeferencing scanned map using ArcMap?How to set up QGIS + georeferencer for easiest georeferencingHow to start from scanned maps in qgisWith QGIS, how can I create a layer from a .csv file?Re-projecting ground control points of similar images (Georeferencing in QGIS)Problem in loading map to Georeferencer in QGISQGIS: georeferencer, resolution-dependent behaviour, why resolution is negativeChange project CRS = discard GCPs?Editing/adding GCPs using QGIS?QGIS 2.18 Georeferencer






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I have created a points layer which represent Ground Control Points (GCP) for georeferencing scanned topographic maps via 'Add Layer > Add Delimited Text Layer', where I saved coordinates in a .csv format that has the lat-lon of each point, stored in DMS coordinate system (I am using DMS as the scanned topo maps use DMS).



I have managed to load the .csv as a Shapefile. Now, I open up the Georeferencer, load the scanned topo map, and click 'File > Load GCP points', however it requires a Ground Control Point file with the *.points extension, and not a Shapefile.



I would prefer not to manually reassign all the control points. How do I convert a Shapefile to a GCP (.points) file? If that is not possible, how do I create a GCP (.points) file? What file formats can I use to create the required GCP (.points) file?



My goal is to be able to load it into the Georeferencer. I am using QGIS 3.2.1.



When I change the extension of the .shp to .points, it becomes a POINTS file (.points), but QGIS will prompt me the following; "Invalid GCP file. File could not be read."










share|improve this question
















bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Does your shapefile already contain the information about which pixel, expressed as rows and columns, is under each GCP?

    – user30184
    Nov 12 '18 at 7:52











  • No, it does not have the which pixel row and column a point belongs to. It only has the lat-lon in DMS coordinates.

    – Johanness
    Nov 12 '18 at 8:01











  • If you do not have extremely many GCP's I think it is easiest and fastest to insert them again with the QGIS georeferencer.

    – user30184
    Nov 14 '18 at 7:22


















1















I have created a points layer which represent Ground Control Points (GCP) for georeferencing scanned topographic maps via 'Add Layer > Add Delimited Text Layer', where I saved coordinates in a .csv format that has the lat-lon of each point, stored in DMS coordinate system (I am using DMS as the scanned topo maps use DMS).



I have managed to load the .csv as a Shapefile. Now, I open up the Georeferencer, load the scanned topo map, and click 'File > Load GCP points', however it requires a Ground Control Point file with the *.points extension, and not a Shapefile.



I would prefer not to manually reassign all the control points. How do I convert a Shapefile to a GCP (.points) file? If that is not possible, how do I create a GCP (.points) file? What file formats can I use to create the required GCP (.points) file?



My goal is to be able to load it into the Georeferencer. I am using QGIS 3.2.1.



When I change the extension of the .shp to .points, it becomes a POINTS file (.points), but QGIS will prompt me the following; "Invalid GCP file. File could not be read."










share|improve this question
















bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Does your shapefile already contain the information about which pixel, expressed as rows and columns, is under each GCP?

    – user30184
    Nov 12 '18 at 7:52











  • No, it does not have the which pixel row and column a point belongs to. It only has the lat-lon in DMS coordinates.

    – Johanness
    Nov 12 '18 at 8:01











  • If you do not have extremely many GCP's I think it is easiest and fastest to insert them again with the QGIS georeferencer.

    – user30184
    Nov 14 '18 at 7:22














1












1








1








I have created a points layer which represent Ground Control Points (GCP) for georeferencing scanned topographic maps via 'Add Layer > Add Delimited Text Layer', where I saved coordinates in a .csv format that has the lat-lon of each point, stored in DMS coordinate system (I am using DMS as the scanned topo maps use DMS).



I have managed to load the .csv as a Shapefile. Now, I open up the Georeferencer, load the scanned topo map, and click 'File > Load GCP points', however it requires a Ground Control Point file with the *.points extension, and not a Shapefile.



I would prefer not to manually reassign all the control points. How do I convert a Shapefile to a GCP (.points) file? If that is not possible, how do I create a GCP (.points) file? What file formats can I use to create the required GCP (.points) file?



My goal is to be able to load it into the Georeferencer. I am using QGIS 3.2.1.



When I change the extension of the .shp to .points, it becomes a POINTS file (.points), but QGIS will prompt me the following; "Invalid GCP file. File could not be read."










share|improve this question
















I have created a points layer which represent Ground Control Points (GCP) for georeferencing scanned topographic maps via 'Add Layer > Add Delimited Text Layer', where I saved coordinates in a .csv format that has the lat-lon of each point, stored in DMS coordinate system (I am using DMS as the scanned topo maps use DMS).



I have managed to load the .csv as a Shapefile. Now, I open up the Georeferencer, load the scanned topo map, and click 'File > Load GCP points', however it requires a Ground Control Point file with the *.points extension, and not a Shapefile.



I would prefer not to manually reassign all the control points. How do I convert a Shapefile to a GCP (.points) file? If that is not possible, how do I create a GCP (.points) file? What file formats can I use to create the required GCP (.points) file?



My goal is to be able to load it into the Georeferencer. I am using QGIS 3.2.1.



When I change the extension of the .shp to .points, it becomes a POINTS file (.points), but QGIS will prompt me the following; "Invalid GCP file. File could not be read."







qgis georeferencing ground-control






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 12 '18 at 8:03







Johanness

















asked Nov 12 '18 at 7:14









JohannessJohanness

965




965





bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Does your shapefile already contain the information about which pixel, expressed as rows and columns, is under each GCP?

    – user30184
    Nov 12 '18 at 7:52











  • No, it does not have the which pixel row and column a point belongs to. It only has the lat-lon in DMS coordinates.

    – Johanness
    Nov 12 '18 at 8:01











  • If you do not have extremely many GCP's I think it is easiest and fastest to insert them again with the QGIS georeferencer.

    – user30184
    Nov 14 '18 at 7:22



















  • Does your shapefile already contain the information about which pixel, expressed as rows and columns, is under each GCP?

    – user30184
    Nov 12 '18 at 7:52











  • No, it does not have the which pixel row and column a point belongs to. It only has the lat-lon in DMS coordinates.

    – Johanness
    Nov 12 '18 at 8:01











  • If you do not have extremely many GCP's I think it is easiest and fastest to insert them again with the QGIS georeferencer.

    – user30184
    Nov 14 '18 at 7:22

















Does your shapefile already contain the information about which pixel, expressed as rows and columns, is under each GCP?

– user30184
Nov 12 '18 at 7:52





Does your shapefile already contain the information about which pixel, expressed as rows and columns, is under each GCP?

– user30184
Nov 12 '18 at 7:52













No, it does not have the which pixel row and column a point belongs to. It only has the lat-lon in DMS coordinates.

– Johanness
Nov 12 '18 at 8:01





No, it does not have the which pixel row and column a point belongs to. It only has the lat-lon in DMS coordinates.

– Johanness
Nov 12 '18 at 8:01













If you do not have extremely many GCP's I think it is easiest and fastest to insert them again with the QGIS georeferencer.

– user30184
Nov 14 '18 at 7:22





If you do not have extremely many GCP's I think it is easiest and fastest to insert them again with the QGIS georeferencer.

– user30184
Nov 14 '18 at 7:22










1 Answer
1






active

oldest

votes


















0















how do I create a GCP (.points) file?




You could use a text editor.



The format you want is like:



mapX,mapY,pixelX,pixelY,enable
433268.37959376286016777,355509.77655098377726972,983.9774984446378312,-2014.51289408103730239,1
433246.04284725664183497,355552.3686015487764962,831.61904507316751278,-1719.29808785451632502,1
433306.56253424676833674,355622.24824787728721276,1234.15815910973515201,-1236.85959025535225919,1
433411.46138055482879281,355677.74274208577116951,1955.41727764171605486,-850.47783687136427488,1
433554.34018561965785921,355695.8543699209112674,2953.81013592618046459,-710.01017688100557734,1
433636.94680135982343927,355569.64276779681676999,3522.92258485503180054,-1576.07810653126352918,1
433600.53707709873560816,355540.0109893383923918,3268.11243895852203423,-1781.04650243362743822,1
433454.43287125352071598,355434.66971611470216885,2264.11336592998168271,-2498.8375497027768688,1
433346.00189347146078944,355440.21874731522984803,1527.95157730500841353,-2474.08382017634630756,1





share|improve this answer
























  • Okay nmtoken, but how do I get those values for pixelX, pixelY by using my GCPs and a non-georeferenced raster (scanned) map? I only have the lat-lon coordinates of my GCPs in DMS coordinate system.

    – Johanness
    Nov 12 '18 at 9:08














Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f302242%2fhow-to-create-a-gcp-points-file-from-a-shapefile-points-layer%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0















how do I create a GCP (.points) file?




You could use a text editor.



The format you want is like:



mapX,mapY,pixelX,pixelY,enable
433268.37959376286016777,355509.77655098377726972,983.9774984446378312,-2014.51289408103730239,1
433246.04284725664183497,355552.3686015487764962,831.61904507316751278,-1719.29808785451632502,1
433306.56253424676833674,355622.24824787728721276,1234.15815910973515201,-1236.85959025535225919,1
433411.46138055482879281,355677.74274208577116951,1955.41727764171605486,-850.47783687136427488,1
433554.34018561965785921,355695.8543699209112674,2953.81013592618046459,-710.01017688100557734,1
433636.94680135982343927,355569.64276779681676999,3522.92258485503180054,-1576.07810653126352918,1
433600.53707709873560816,355540.0109893383923918,3268.11243895852203423,-1781.04650243362743822,1
433454.43287125352071598,355434.66971611470216885,2264.11336592998168271,-2498.8375497027768688,1
433346.00189347146078944,355440.21874731522984803,1527.95157730500841353,-2474.08382017634630756,1





share|improve this answer
























  • Okay nmtoken, but how do I get those values for pixelX, pixelY by using my GCPs and a non-georeferenced raster (scanned) map? I only have the lat-lon coordinates of my GCPs in DMS coordinate system.

    – Johanness
    Nov 12 '18 at 9:08


















0















how do I create a GCP (.points) file?




You could use a text editor.



The format you want is like:



mapX,mapY,pixelX,pixelY,enable
433268.37959376286016777,355509.77655098377726972,983.9774984446378312,-2014.51289408103730239,1
433246.04284725664183497,355552.3686015487764962,831.61904507316751278,-1719.29808785451632502,1
433306.56253424676833674,355622.24824787728721276,1234.15815910973515201,-1236.85959025535225919,1
433411.46138055482879281,355677.74274208577116951,1955.41727764171605486,-850.47783687136427488,1
433554.34018561965785921,355695.8543699209112674,2953.81013592618046459,-710.01017688100557734,1
433636.94680135982343927,355569.64276779681676999,3522.92258485503180054,-1576.07810653126352918,1
433600.53707709873560816,355540.0109893383923918,3268.11243895852203423,-1781.04650243362743822,1
433454.43287125352071598,355434.66971611470216885,2264.11336592998168271,-2498.8375497027768688,1
433346.00189347146078944,355440.21874731522984803,1527.95157730500841353,-2474.08382017634630756,1





share|improve this answer
























  • Okay nmtoken, but how do I get those values for pixelX, pixelY by using my GCPs and a non-georeferenced raster (scanned) map? I only have the lat-lon coordinates of my GCPs in DMS coordinate system.

    – Johanness
    Nov 12 '18 at 9:08
















0












0








0








how do I create a GCP (.points) file?




You could use a text editor.



The format you want is like:



mapX,mapY,pixelX,pixelY,enable
433268.37959376286016777,355509.77655098377726972,983.9774984446378312,-2014.51289408103730239,1
433246.04284725664183497,355552.3686015487764962,831.61904507316751278,-1719.29808785451632502,1
433306.56253424676833674,355622.24824787728721276,1234.15815910973515201,-1236.85959025535225919,1
433411.46138055482879281,355677.74274208577116951,1955.41727764171605486,-850.47783687136427488,1
433554.34018561965785921,355695.8543699209112674,2953.81013592618046459,-710.01017688100557734,1
433636.94680135982343927,355569.64276779681676999,3522.92258485503180054,-1576.07810653126352918,1
433600.53707709873560816,355540.0109893383923918,3268.11243895852203423,-1781.04650243362743822,1
433454.43287125352071598,355434.66971611470216885,2264.11336592998168271,-2498.8375497027768688,1
433346.00189347146078944,355440.21874731522984803,1527.95157730500841353,-2474.08382017634630756,1





share|improve this answer














how do I create a GCP (.points) file?




You could use a text editor.



The format you want is like:



mapX,mapY,pixelX,pixelY,enable
433268.37959376286016777,355509.77655098377726972,983.9774984446378312,-2014.51289408103730239,1
433246.04284725664183497,355552.3686015487764962,831.61904507316751278,-1719.29808785451632502,1
433306.56253424676833674,355622.24824787728721276,1234.15815910973515201,-1236.85959025535225919,1
433411.46138055482879281,355677.74274208577116951,1955.41727764171605486,-850.47783687136427488,1
433554.34018561965785921,355695.8543699209112674,2953.81013592618046459,-710.01017688100557734,1
433636.94680135982343927,355569.64276779681676999,3522.92258485503180054,-1576.07810653126352918,1
433600.53707709873560816,355540.0109893383923918,3268.11243895852203423,-1781.04650243362743822,1
433454.43287125352071598,355434.66971611470216885,2264.11336592998168271,-2498.8375497027768688,1
433346.00189347146078944,355440.21874731522984803,1527.95157730500841353,-2474.08382017634630756,1






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 12 '18 at 8:23









nmtokennmtoken

8,15542866




8,15542866













  • Okay nmtoken, but how do I get those values for pixelX, pixelY by using my GCPs and a non-georeferenced raster (scanned) map? I only have the lat-lon coordinates of my GCPs in DMS coordinate system.

    – Johanness
    Nov 12 '18 at 9:08





















  • Okay nmtoken, but how do I get those values for pixelX, pixelY by using my GCPs and a non-georeferenced raster (scanned) map? I only have the lat-lon coordinates of my GCPs in DMS coordinate system.

    – Johanness
    Nov 12 '18 at 9:08



















Okay nmtoken, but how do I get those values for pixelX, pixelY by using my GCPs and a non-georeferenced raster (scanned) map? I only have the lat-lon coordinates of my GCPs in DMS coordinate system.

– Johanness
Nov 12 '18 at 9:08







Okay nmtoken, but how do I get those values for pixelX, pixelY by using my GCPs and a non-georeferenced raster (scanned) map? I only have the lat-lon coordinates of my GCPs in DMS coordinate system.

– Johanness
Nov 12 '18 at 9:08




















draft saved

draft discarded




















































Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f302242%2fhow-to-create-a-gcp-points-file-from-a-shapefile-points-layer%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Щит и меч (фильм) Содержание Названия серий | Сюжет |...

is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

Meter-Bus Содержание Параметры шины | Стандартизация |...