From aashish.chaudhary at kitware.com Mon Jan 4 14:37:55 2016 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Mon, 4 Jan 2016 14:37:55 -0500 Subject: [Geojs-users] problems loading wms layers with geojs current master In-Reply-To: References: Message-ID: Mike, There is a list geojs-users at public.kitware.com -:) for the next time. - aashish On Mon, Jan 4, 2016 at 2:37 PM, Michael Grauer wrote: > Hi Geojs-ers, > > On a current master of Geojs, when I try to load a wms layer, when I try > to call > > layer.gcs(projection); > > I'm getting Uncaught TypeError: b.gcs is not a function. > > This used to work until quite recently (in terms of geojs), but I can't > build an older version of geojs inside my Girder+Minerva stack using > "girder-install plugin", only current geojs master. > > I see this in the geojs examples for wms, is that what I should change to? > > var bb = wms.gcsTileBounds({x: x, y: y, level: zoom}, projection); > > > > > Thanks, > Mike > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan.beezley at kitware.com Mon Jan 4 14:43:29 2016 From: jonathan.beezley at kitware.com (Jonathan Beezley) Date: Mon, 4 Jan 2016 14:43:29 -0500 Subject: [Geojs-users] problems loading wms layers with geojs current master In-Reply-To: References: Message-ID: Yes, that was one backward incompatible change that we made bumping to 0.6. David fixed the WMS example with this commit: https://github.com/OpenGeoscience/geojs/commit/69c8b9b2e9372902d508f63d76978978a67fedd2 I suspect you will probably need the same changes. On Mon, Jan 4, 2016 at 2:37 PM, Aashish Chaudhary < aashish.chaudhary at kitware.com> wrote: > Mike, > > There is a list geojs-users at public.kitware.com -:) for the next time. > > - aashish > > On Mon, Jan 4, 2016 at 2:37 PM, Michael Grauer > wrote: > >> Hi Geojs-ers, >> >> On a current master of Geojs, when I try to load a wms layer, when I try >> to call >> >> layer.gcs(projection); >> >> I'm getting Uncaught TypeError: b.gcs is not a function. >> >> This used to work until quite recently (in terms of geojs), but I can't >> build an older version of geojs inside my Girder+Minerva stack using >> "girder-install plugin", only current geojs master. >> >> I see this in the geojs examples for wms, is that what I should change to? >> >> var bb = wms.gcsTileBounds({x: x, y: y, level: zoom}, projection); >> >> >> >> >> Thanks, >> Mike >> > > > > -- > > > > *| Aashish Chaudhary | Technical Leader | Kitware Inc. * > *| http://www.kitware.com/company/team/chaudhary.html > * > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan.beezley at kitware.com Mon Jan 4 14:47:39 2016 From: jonathan.beezley at kitware.com (Jonathan Beezley) Date: Mon, 4 Jan 2016 14:47:39 -0500 Subject: [Geojs-users] problems loading wms layers with geojs current master In-Reply-To: References: Message-ID: Does this line in the package.json not fix the SHA that minerva checks out? https://github.com/Kitware/minerva/blob/master/package.json#L9 On Mon, Jan 4, 2016 at 2:43 PM, Jonathan Beezley < jonathan.beezley at kitware.com> wrote: > Yes, that was one backward incompatible change that we made bumping to > 0.6. David fixed the WMS example with this commit: > > > https://github.com/OpenGeoscience/geojs/commit/69c8b9b2e9372902d508f63d76978978a67fedd2 > > I suspect you will probably need the same changes. > > On Mon, Jan 4, 2016 at 2:37 PM, Aashish Chaudhary < > aashish.chaudhary at kitware.com> wrote: > >> Mike, >> >> There is a list geojs-users at public.kitware.com -:) for the next time. >> >> - aashish >> >> On Mon, Jan 4, 2016 at 2:37 PM, Michael Grauer < >> michael.grauer at kitware.com> wrote: >> >>> Hi Geojs-ers, >>> >>> On a current master of Geojs, when I try to load a wms layer, when I try >>> to call >>> >>> layer.gcs(projection); >>> >>> I'm getting Uncaught TypeError: b.gcs is not a function. >>> >>> This used to work until quite recently (in terms of geojs), but I can't >>> build an older version of geojs inside my Girder+Minerva stack using >>> "girder-install plugin", only current geojs master. >>> >>> I see this in the geojs examples for wms, is that what I should change >>> to? >>> >>> var bb = wms.gcsTileBounds({x: x, y: y, level: zoom}, projection); >>> >>> >>> >>> >>> Thanks, >>> Mike >>> >> >> >> >> -- >> >> >> >> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >> * >> *| http://www.kitware.com/company/team/chaudhary.html >> * >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan.beezley at kitware.com Mon Jan 4 14:53:17 2016 From: jonathan.beezley at kitware.com (Jonathan Beezley) Date: Mon, 4 Jan 2016 14:53:17 -0500 Subject: [Geojs-users] problems loading wms layers with geojs current master In-Reply-To: References: Message-ID: You probably want this commit then: https://github.com/OpenGeoscience/geojs/commit/5444c02ac9554cf133b2c56d4b30df9ccbf66653 Although, it wouldn't be a bad idea to fix the issues with the latest master. We will want to do so soon anyway. On Mon, Jan 4, 2016 at 2:50 PM, Michael Grauer wrote: > That line does set the Geojs SHA that Minerva uses, but with that SHA you > linked to (and what I had used before), installing minerva via "sudo > girder-install plugin" fails on the bower step. Using Geojs master > succeeds. > > On Mon, Jan 4, 2016 at 2:47 PM, Jonathan Beezley < > jonathan.beezley at kitware.com> wrote: > >> Does this line in the package.json not fix the SHA that minerva checks >> out? >> >> >> https://github.com/Kitware/minerva/blob/master/package.json#L9 >> >> On Mon, Jan 4, 2016 at 2:43 PM, Jonathan Beezley < >> jonathan.beezley at kitware.com> wrote: >> >>> Yes, that was one backward incompatible change that we made bumping to >>> 0.6. David fixed the WMS example with this commit: >>> >>> >>> https://github.com/OpenGeoscience/geojs/commit/69c8b9b2e9372902d508f63d76978978a67fedd2 >>> >>> I suspect you will probably need the same changes. >>> >>> On Mon, Jan 4, 2016 at 2:37 PM, Aashish Chaudhary < >>> aashish.chaudhary at kitware.com> wrote: >>> >>>> Mike, >>>> >>>> There is a list geojs-users at public.kitware.com -:) for the next time. >>>> >>>> - aashish >>>> >>>> On Mon, Jan 4, 2016 at 2:37 PM, Michael Grauer < >>>> michael.grauer at kitware.com> wrote: >>>> >>>>> Hi Geojs-ers, >>>>> >>>>> On a current master of Geojs, when I try to load a wms layer, when I >>>>> try to call >>>>> >>>>> layer.gcs(projection); >>>>> >>>>> I'm getting Uncaught TypeError: b.gcs is not a function. >>>>> >>>>> This used to work until quite recently (in terms of geojs), but I >>>>> can't build an older version of geojs inside my Girder+Minerva stack using >>>>> "girder-install plugin", only current geojs master. >>>>> >>>>> I see this in the geojs examples for wms, is that what I should change >>>>> to? >>>>> >>>>> var bb = wms.gcsTileBounds({x: x, y: y, level: zoom}, projection); >>>>> >>>>> >>>>> >>>>> >>>>> Thanks, >>>>> Mike >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> >>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>>> * >>>> *| http://www.kitware.com/company/team/chaudhary.html >>>> * >>>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan.beezley at kitware.com Mon Jan 4 15:08:44 2016 From: jonathan.beezley at kitware.com (Jonathan Beezley) Date: Mon, 4 Jan 2016 15:08:44 -0500 Subject: [Geojs-users] problems loading wms layers with geojs current master In-Reply-To: References: Message-ID: It's currently 0.6-rc-1. I had a few concerns about the state of the library before leaving for vacation, so I didn't want to tag an "official" release yet. Any changes we make before the actual 0.6 will almost certainly be API compatible. > I'm confused here. The latest master of GeoJs can be installed with Minerva using "sudo girder-install plugin". The latest master contains that commit as well. The commit I posted though doesn't have the massive refactor PR in it, so it won't break the existing code. On Mon, Jan 4, 2016 at 3:01 PM, Michael Grauer wrote: > Thanks, good to know. > > I can submit a PR for Minerva using the SHA of the 0.6 release of GeoJs, > now that I know what the change was in GeoJs and what I'll have to in > Minerva to fix it. > > I was trying to track down the source of the error while QA-ing Chris' > minerva-ansible-vagrant branch, is the background. > > > Although, it wouldn't be a bad idea to fix the issues with the latest > master. We will want to do so soon anyway. > > I'm confused here. The latest master of GeoJs can be installed with > Minerva using "sudo girder-install plugin". > > > On Mon, Jan 4, 2016 at 2:53 PM, Jonathan Beezley < > jonathan.beezley at kitware.com> wrote: > >> You probably want this commit then: >> https://github.com/OpenGeoscience/geojs/commit/5444c02ac9554cf133b2c56d4b30df9ccbf66653 >> >> Although, it wouldn't be a bad idea to fix the issues with the latest >> master. We will want to do so soon anyway. >> >> On Mon, Jan 4, 2016 at 2:50 PM, Michael Grauer < >> michael.grauer at kitware.com> wrote: >> >>> That line does set the Geojs SHA that Minerva uses, but with that SHA >>> you linked to (and what I had used before), installing minerva via "sudo >>> girder-install plugin" fails on the bower step. Using Geojs master >>> succeeds. >>> >>> On Mon, Jan 4, 2016 at 2:47 PM, Jonathan Beezley < >>> jonathan.beezley at kitware.com> wrote: >>> >>>> Does this line in the package.json not fix the SHA that minerva checks >>>> out? >>>> >>>> >>>> https://github.com/Kitware/minerva/blob/master/package.json#L9 >>>> >>>> On Mon, Jan 4, 2016 at 2:43 PM, Jonathan Beezley < >>>> jonathan.beezley at kitware.com> wrote: >>>> >>>>> Yes, that was one backward incompatible change that we made bumping to >>>>> 0.6. David fixed the WMS example with this commit: >>>>> >>>>> >>>>> https://github.com/OpenGeoscience/geojs/commit/69c8b9b2e9372902d508f63d76978978a67fedd2 >>>>> >>>>> I suspect you will probably need the same changes. >>>>> >>>>> On Mon, Jan 4, 2016 at 2:37 PM, Aashish Chaudhary < >>>>> aashish.chaudhary at kitware.com> wrote: >>>>> >>>>>> Mike, >>>>>> >>>>>> There is a list geojs-users at public.kitware.com -:) for the next >>>>>> time. >>>>>> >>>>>> - aashish >>>>>> >>>>>> On Mon, Jan 4, 2016 at 2:37 PM, Michael Grauer < >>>>>> michael.grauer at kitware.com> wrote: >>>>>> >>>>>>> Hi Geojs-ers, >>>>>>> >>>>>>> On a current master of Geojs, when I try to load a wms layer, when I >>>>>>> try to call >>>>>>> >>>>>>> layer.gcs(projection); >>>>>>> >>>>>>> I'm getting Uncaught TypeError: b.gcs is not a function. >>>>>>> >>>>>>> This used to work until quite recently (in terms of geojs), but I >>>>>>> can't build an older version of geojs inside my Girder+Minerva stack using >>>>>>> "girder-install plugin", only current geojs master. >>>>>>> >>>>>>> I see this in the geojs examples for wms, is that what I should >>>>>>> change to? >>>>>>> >>>>>>> var bb = wms.gcsTileBounds({x: x, y: y, level: zoom}, projection); >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Thanks, >>>>>>> Mike >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> >>>>>> >>>>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>>>>> * >>>>>> *| http://www.kitware.com/company/team/chaudhary.html >>>>>> * >>>>>> >>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Sat Jan 9 12:03:22 2016 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Sat, 9 Jan 2016 12:03:22 -0500 Subject: [Geojs-users] GeoJS Version 0.6.0 is tagged Message-ID: Folks, We have tagged version 0.6.0 of GeoJS. A blog will be published very soon describing some of the major features of new release. Please checkout the release notes here: https://github.com/OpenGeoscience/geojs/releases/tag/v0.6.0 Thanks, Aashish -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.grauer at kitware.com Tue Jan 12 22:39:05 2016 From: michael.grauer at kitware.com (Michael Grauer) Date: Tue, 12 Jan 2016 22:39:05 -0500 Subject: [Geojs-users] test email Message-ID: please don't bounce -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Tue Jan 12 22:42:11 2016 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Tue, 12 Jan 2016 22:42:11 -0500 Subject: [Geojs-users] test email In-Reply-To: References: Message-ID: It didn't -:) On Tue, Jan 12, 2016 at 10:39 PM, Michael Grauer wrote: > please don't bounce > > _______________________________________________ > Geojs-users mailing list > Geojs-users at public.kitware.com > http://public.kitware.com/mailman/listinfo/geojs-users > > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Tue Jan 12 23:25:22 2016 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Tue, 12 Jan 2016 23:25:22 -0500 Subject: [Geojs-users] [Geojs-developers] Questions about using GeoJS In-Reply-To: References: Message-ID: Awesome! We should highlight this somewhere in the documentation (I thought we did). I will double check and update the document. Thanks for the update. - Aashish On Tue, Jan 12, 2016 at 11:07 PM, Olsen.Erik wrote: > Aashish, > > You were right, I was missing that meta tag in my header in my test > example. I just put it in and it worked. Thanks so much for the quick > diagnosis. > > > ________________________________________ > From: Aashish Chaudhary [aashish.chaudhary at kitware.com] > Sent: Tuesday, January 12, 2016 10:38 PM > To: Olsen.Erik > Cc: Geojs-developers at public.kitware.com; Jonathan Beezley > Subject: Re: [Geojs-developers] Questions about using GeoJS > > Hi Erik, > > What was the error you ran into with the first approach? I am wondering if > you are running into utf-8 encoding issue since geojs.ext.min.js includes > d3.js as well. Did you have > > > > in your tag? > > - Aashish > > > On Tue, Jan 12, 2016 at 9:15 PM, Olsen.Erik Olsen.Erik at ensco.com>> wrote: > Hi all, > > Has anyone had any experience using GeoJS via installing it via NPM? I've > been trying to import my copy I downloaded via NPM into my application > ucing CommonJS to import external sources and have been running into an > error saying that "package geojs could not be found". I found a link to > TonicDev on the GeoJS page that doesn't seem to import GeoJS properly > either(https://tonicdev.com/npm/geojs< > https://urldefense.proofpoint.com/v2/url?u=https-3A__tonicdev.com_npm_geojs&d=CwMFaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=sdAMZxqAoPTtVpp0WTsUGE05dS9lBt3NjsK7CxSH_Bc&m=PFT9J2sUa0t1CxuurBuftQiapzV3mkkArg3tdApo2FE&s=XYRB5cYPgwmCMdzzzan45WCrgvNwgbhX_V28UjVmfM4&e=>). > I was wondering why that is if anyone happens to know, in case my case and > this case are making the same wrong assumptions. > > So since the above method of importing GeoJS failed, I tried to import > GeoJS by importing it via the instructions here: > http://geojs.readthedocs.org/en/latest/quickstart.html< > https://urldefense.proofpoint.com/v2/url?u=http-3A__geojs.readthedocs.org_en_latest_quickstart.html&d=CwMFaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=sdAMZxqAoPTtVpp0WTsUGE05dS9lBt3NjsK7CxSH_Bc&m=PFT9J2sUa0t1CxuurBuftQiapzV3mkkArg3tdApo2FE&s=gP12rxLcZfZwcO45xxhbweDhRJDyE077gMORQ7Xc8lE&e= > > > I noticed that when I tried to run my 'mymap.html' file via the browser, > there seems to be an error in the geo.ext.min.js file that causes it not to > load. However, when I serve up my html file(and the two Javascript files) > via the GeoJS configuration of the Grunt Server, there is not an issue in > this file and it seems to work flawlessly. Is there something in the Grunt > Server Configuration that I should have in my development environment when > using GeoJS? > > Thanks, > Erik > > The information contained in this email message is intended only for the > use of the individual(s) to whom it is addressed and may contain > information that is privileged and sensitive. If you are not the intended > recipient, or otherwise have received this communication in error, please > notify the sender immediately by email at the above referenced address and > note that any further dissemination, distribution or copying of this > communication is strictly prohibited. > > The U.S. Export Control Laws regulate the export and re-export of > technology originating in the United States. This includes the electronic > transmission of information and software to foreign countries and to > certain foreign nationals. Recipient agrees to abide by these laws and > their regulations -- including the U.S. Department of Commerce Export > Administration Regulations and the U.S. Department of State International > Traffic in Arms Regulations -- and not to transfer, by electronic > transmission or otherwise, any content derived from this email to either a > foreign national or a foreign destination in violation of such laws. > _______________________________________________ > Geojs-developers mailing list > Geojs-developers at public.kitware.com Geojs-developers at public.kitware.com> > http://public.kitware.com/mailman/listinfo/geojs-developers< > https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com_mailman_listinfo_geojs-2Ddevelopers&d=CwMFaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=sdAMZxqAoPTtVpp0WTsUGE05dS9lBt3NjsK7CxSH_Bc&m=PFT9J2sUa0t1CxuurBuftQiapzV3mkkArg3tdApo2FE&s=LxvTNIMn9Yc3w6pQy1d7pGbBPqp4PH3JT9w8Ygllt30&e= > > > > > > -- > | Aashish Chaudhary > | Technical Leader > | Kitware Inc. > | http://www.kitware.com/company/team/chaudhary.html< > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_company_team_chaudhary.html&d=CwMFaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=sdAMZxqAoPTtVpp0WTsUGE05dS9lBt3NjsK7CxSH_Bc&m=PFT9J2sUa0t1CxuurBuftQiapzV3mkkArg3tdApo2FE&s=zj6QMjwPLZkTRv-mGjp77u6U-I24A2e8WA5IRsckPjc&e= > > > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: