[pmapper-users] Projection error
Can you help me with the javascript error bellow? NetworkError: 404 Not Found - /pmapper/projCode/null.js My map projection is : PROJECTION init=epsg:3857 END # PROJECTION and my config xml unitAndProj projections prj name=WEB-mercator definitioninit=epsg:3857/definition /prj prj name=lat/lon WGS84 definitioninit=epsg:4326/definition /prj prj name=Greek Grid -EGSA87 definitioninit=epsg:2100/definition /prj prj name=Google Mercator definitioninit=epsg:900913/definition /prj /projections /unitAndProj coordinates mapPrj name=WEB-mercator roundTo=0 /mapPrj prj name=Greek Grid -EGSA87 roundTo=0 definitioninit=epsg:2100/definition /prj prj name=lat/lon WGS84 roundTo=4 definitioninit=epsg:4326/definition /prj prj name=WEB-mercator roundTo=0 definitioninit=epsg:3857/definition /prj prj name=Google Mercator roundTo=0 definitioninit=epsg:900913/definition /prj /coordinates -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Projection error
Hi, I don't really use proj4s plugin, so I'm not sure but I think you have to define the projection (3857 here): - in the XML (already done as I see below) - in JS - in your js_config.php : Proj4js.defs[EPSG:2154]=+proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=70 +y_0=660 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ; - or with the correct js file in pmapper/plugins/proj4js/defs Thomas Le 28/01/2015 11:03, Andreas Douvalis a écrit : Can you help me with the javascript error bellow? NetworkError: 404 Not Found - /pmapper/projCode/null.js My map projection is : PROJECTION init=epsg:3857 END # PROJECTION and my config xml unitAndProj projections prj name=WEB-mercator definitioninit=epsg:3857/definition /prj prj name=lat/lon WGS84 definitioninit=epsg:4326/definition /prj prj name=Greek Grid -EGSA87 definitioninit=epsg:2100/definition /prj prj name=Google Mercator definitioninit=epsg:900913/definition /prj /projections /unitAndProj coordinates mapPrj name=WEB-mercator roundTo=0 /mapPrj prj name=Greek Grid -EGSA87 roundTo=0 definitioninit=epsg:2100/definition /prj prj name=lat/lon WGS84 roundTo=4 definitioninit=epsg:4326/definition /prj prj name=WEB-mercator roundTo=0 definitioninit=epsg:3857/definition /prj prj name=Google Mercator roundTo=0 definitioninit=epsg:900913/definition /prj /coordinates -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] Πρθ: Projection error
Στις 12:43 μ.μ. Τετάρτη, 28 Ιανουαρίου 2015, ο/η Andreas Douvalis anddre...@yahoo.gr έγραψε: Thank you! You are right! I should have defined in js_config.php! Now it works! Στις 12:33 μ.μ. Τετάρτη, 28 Ιανουαρίου 2015, ο/η Thomas RAFFIN traf...@sirap.fr έγραψε: Hi, I don't really use proj4s plugin, so I'm not sure but I think you have to define the projection (3857 here): - in the XML (already done as I see below) - in JS - in your js_config.php : Proj4js.defs[EPSG:2154]=+proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=70 +y_0=660 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ; - or with the correct js file in pmapper/plugins/proj4js/defs Thomas Le 28/01/2015 11:03, Andreas Douvalis a écrit : Can you help me with the javascript error bellow? NetworkError: 404 Not Found - /pmapper/projCode/null.js My map projection is : PROJECTION init=epsg:3857 END # PROJECTION and my config xml unitAndProj projections prj name=WEB-mercator definitioninit=epsg:3857/definition /prj prj name=lat/lon WGS84 definitioninit=epsg:4326/definition /prj prj name=Greek Grid -EGSA87 definitioninit=epsg:2100/definition /prj prj name=Google Mercator definitioninit=epsg:900913/definition /prj /projections /unitAndProj coordinates mapPrj name=WEB-mercator roundTo=0 /mapPrj prj name=Greek Grid -EGSA87 roundTo=0 definitioninit=epsg:2100/definition /prj prj name=lat/lon WGS84 roundTo=4 definitioninit=epsg:4326/definition /prj prj name=WEB-mercator roundTo=0 definitioninit=epsg:3857/definition /prj prj name=Google Mercator roundTo=0 definitioninit=epsg:900913/definition /prj /coordinates -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users