{"action":"created","issue":{"url":"https://api.github.com/repos/PSU-CSAR/vb-bagis/issues/7","labels_url":"https://api.github.com/repos/PSU-CSAR/vb-bagis/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/PSU-CSAR/vb-bagis/issues/7/comments","events_url":"https://api.github.com/repos/PSU-CSAR/vb-bagis/issues/7/events","html_url":"https://github.com/PSU-CSAR/vb-bagis/issues/7","id":125084186,"number":7,"title":"Geographic Coordinate Systems Warning when using BAGIS Reference Maps web service","user":{"login":"lbross","id":11527966,"avatar_url":"https://avatars.githubusercontent.com/u/11527966?v=3","gravatar_id":"","url":"https://api.github.com/users/lbross","html_url":"https://github.com/lbross","followers_url":"https://api.github.com/users/lbross/followers","following_url":"https://api.github.com/users/lbross/following{/other_user}","gists_url":"https://api.github.com/users/lbross/gists{/gist_id}","starred_url":"https://api.github.com/users/lbross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbross/subscriptions","organizations_url":"https://api.github.com/users/lbross/orgs","repos_url":"https://api.github.com/users/lbross/repos","events_url":"https://api.github.com/users/lbross/events{/privacy}","received_events_url":"https://api.github.com/users/lbross/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PSU-CSAR/vb-bagis/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-06T00:35:50Z","updated_at":"2016-01-15T19:07:24Z","closed_at":null,"body":"The good news is that if I save an .lyr file pointed to the web service, this path can be saved to the BAGIS settings file. BAGIS can also open and load this .lyr with no code changes. However, when I load an AOI boundary, I get the attached warning about different GCS's. Is this a problem? Can we make the web service projection match the BAGIS standard?\r\n\r\n![gcs_warning](https://cloud.githubusercontent.com/assets/11527966/12131670/a684c898-b3c9-11e5-9e09-27f0a0aeb9bb.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/PSU-CSAR/vb-bagis/issues/comments/172055717","html_url":"https://github.com/PSU-CSAR/vb-bagis/issues/7#issuecomment-172055717","issue_url":"https://api.github.com/repos/PSU-CSAR/vb-bagis/issues/7","id":172055717,"user":{"login":"lbross","id":11527966,"avatar_url":"https://avatars.githubusercontent.com/u/11527966?v=3","gravatar_id":"","url":"https://api.github.com/users/lbross","html_url":"https://github.com/lbross","followers_url":"https://api.github.com/users/lbross/followers","following_url":"https://api.github.com/users/lbross/following{/other_user}","gists_url":"https://api.github.com/users/lbross/gists{/gist_id}","starred_url":"https://api.github.com/users/lbross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbross/subscriptions","organizations_url":"https://api.github.com/users/lbross/orgs","repos_url":"https://api.github.com/users/lbross/repos","events_url":"https://api.github.com/users/lbross/events{/privacy}","received_events_url":"https://api.github.com/users/lbross/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T19:07:24Z","updated_at":"2016-01-15T19:07:24Z","body":"Running some tests to calculate the row/column values from a vector. I get the Envelope of the vector and then divide the height/width by the cell size. Clearly this will most likely be a float value. What is the best way to handle this? Always round up?\r\n\r\nI tested using the aoi layers from teton_aoi which was created using original BAGIS code. In this test, I used the Fix function from BA_SnapGCElementtoRaster so the cell counts are always rounded down which I don't think is right. Still, for the largest vector: p_aoi, I am off by 2 and 3 cells.\r\n\r\naoi_v\t1761 x 1811\r\naoibagis 1761 x 1811\r\n\r\naoib_v\t1770 x 1820\r\naoib\t1771 x 1821\r\n\r\np_aoi_v\t1851 x 1901\r\np_aoi\t1853 x 1904\r\nThe cell counts for each vector are what my subroutine returned\r\n\r\nI will explore updating the BA_ShapeFile2RasterGDB sub to see if we can set the snap raster from an image service in the setExtent() method."}}