Re: GSoC 2019 PT-assistant Plugin

2019-07-15 Thread ashish singh
Thanks, I'll check it out.

On Mon, Jul 15, 2019, 15:44 Jiri Vlasak  wrote:

> On Sat, Jul 13, 2019 at 05:00:40PM +0530, ashish singh wrote:
> > I need to make rectangle given a segment as a base and check whether
> > something (stop, another home)is inside this rectangle or not. Is there
> > some code already written regarding this? If it is already there where I
> > can find it in the core?
>
> I think that you are asking about `⊆` and `⊇` operators of MapCSS.
>
> Please, check out this wiki page:
>
> https://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation
>
> jiri
>


Re: GSoC 2019 PT-assistant Plugin

2019-07-15 Thread Jiri Vlasak
On Sat, Jul 13, 2019 at 05:00:40PM +0530, ashish singh wrote:
> I need to make rectangle given a segment as a base and check whether
> something (stop, another home)is inside this rectangle or not. Is there
> some code already written regarding this? If it is already there where I
> can find it in the core?

I think that you are asking about `⊆` and `⊇` operators of MapCSS.

Please, check out this wiki page:

https://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation

jiri



GSoC 2019 PT-assistant Plugin

2019-07-13 Thread ashish singh
I need to make rectangle given a segment as a base and check whether
something (stop, another home)is inside this rectangle or not. Is there
some code already written regarding this? If it is already there where I
can find it in the core?