Querida Comunidade,<\/SPAN><\/P>Estou trabalhando em uma análise de acessibilidade e, portanto, preciso construir um conjunto de dados de rede multimodal (incluindo GTFS). Eu uso ArcGIS Desktop 10.5 em uma máquina Windows, a propósito. Também carreguei uma captura de tela com um exemplo do meu problema: linhas azuis são as ruas (osm), linhas verdes são rotas de transporte público (ônibus, bonde, metrô), linhas roxas são linhas que conectam estações com a rede viária, o ponto verde é a parada/estação do arquivo GTFS, triângulos laranjas vêm de uma classe de feição pontual mais detalhada representando paradas/estações.<\/SPAN><\/P> Meu problema é duplo: Primeiramente, criei uma camada de paradas a partir de um arquivo GTFS usando a ferramenta EditGTFSStopLocation por Melinda Morang, que<\/A> me deu várias feições pontuais por parada/estação (feição pontual verde); eu suponho uma por rota de transporte público (feições de linha verde) que para naquela estação. No entanto, essas feições pontuais todas têm o mesmo par de coordenadas. Em teoria, isso significa que ônibus, bonde, trem e assim por diante param exatamente na mesma posição; não importa a direção da rota e não importa onde eles realmente deveriam parar. Na realidade, entretanto, os pontos deveriam estar distribuídos como os triângulos laranjas, cada um representando uma "entrada/saída/plataforma" (in-) para um meio de transporte. Infelizmente, esses pontos não vêm do arquivo GTFS e, portanto, não contêm informações sobre qual rota para neles. Agora preciso fazer uma análise consciente do horário. Parece que é ou consciência do horário permitindo elaborar um tempo de espera preciso OU precisão posicional permitindo elaborar um tempo exato de caminhada "dentro" da estação. Alguém vê uma maneira de obter ambos?<\/SPAN><\/P><\/P>O segundo problema é que nem as rotas reais (feições de linha verde) nem a rede viária (OSM; feições de linha azul) cruzam/coincidem com a estação. Então, não há conexão entre as diferentes redes. (Tentei resolver esse problema conectando a feição pontual da parada com as duas feições viárias mais próximas [veja as feições de linha roxa]. Isso teria que ser repetido com as classes de feição do transporte público.) Alguém conhece um método melhor e automatizado para conectar as feições lineares com as feições pontuais - sem conectar muitas ou as feições erradas (como uma parada de bonde com uma feição de linha do metrô)?<\/SPAN><\/P>Obrigado a todos que leram um post tão longo!<\/SPAN><\/P> Estou realmente ansioso pelas suas respostas Obrigado e melhores desejos, Piet<\/SPAN><\/P><\/P>PS: Este é meu primeiro post na comunidade. Por favor, me avisem se deveria ser postado em outro grupo. Obrigado!<\/SPAN><\/P><\/BODY><\/HTML>
<\/P>
O segundo problema é que nem as rotas reais (feições de linha verde) nem a rede viária (OSM; feições de linha azul) cruzam/coincidem com a estação. Então, não há conexão entre as diferentes redes. (Tentei resolver esse problema conectando a feição pontual da parada com as duas feições viárias mais próximas [veja as feições de linha roxa]. Isso teria que ser repetido com as classes de feição do transporte público.) Alguém conhece um método melhor e automatizado para conectar as feições lineares com as feições pontuais - sem conectar muitas ou as feições erradas (como uma parada de bonde com uma feição de linha do metrô)?<\/SPAN><\/P>Obrigado a todos que leram um post tão longo!<\/SPAN><\/P> Estou realmente ansioso pelas suas respostas Obrigado e melhores desejos, Piet<\/SPAN><\/P><\/P>PS: Este é meu primeiro post na comunidade. Por favor, me avisem se deveria ser postado em outro grupo. Obrigado!<\/SPAN><\/P><\/BODY><\/HTML>
Hello Jan.
You do not need the geometry of your transit lines to match the OSM street geometry. The Add GTFS to a Network Dataset toolbox will take care of this for you. It will generate a feature class of transit lines which are simply straight-line connectors between stops. The network dataset will reference these lines, but the travel times along those lines are calculated based on the GTFS schedules. So the actual geometry of the lines is irrelevant.
The only thing that DOES matter is the location of the stops. It seems like this is where your real problem lies. Add GTFS to a Network Dataset finds the locations of all the stops from the GTFS stops.txt file, snaps a copy of the stops to the closest street feature, and draws a connector line from the snapped stop to the original stop location. This allows you to connect from the streets onto your transit lines. If the snapped stops don't end up in the right place, then the network will not correctly represent the locations where people can get on and off the transit system.
You can use the Edit GTFS Stop Locations tool to correct the locations of existing stops, export the correction back into GTFS, and then run Add GTFS to a Network Dataset using the corrected GTFS. Another thing you can do is to add station entrances to your GTFS stops.txt file. To do this, you would add a new entry to stops.txt and give it a location_type value of 2. You would also have to have a parent_stations set up. Read the GTFS reference for the explanation. If you have your stops, parent stations, and station entrances set up correctly, the Add GTFS to a Network Dataset toolbox will take care of constructing the network dataset correctly using that information. Also, adding station entrances does not affect the GTFS schedules, so you can add them without having to do any major surgery on your GTFS dataset.
Hope this helps!
If you want to render the transit routes in the map, you should use the Display GTFS in ArcGIS tool, which renders the information in "shapes.txt". This is the physical representation of where the transit lines actually are.
Regarding your question about larger cities: The producer of the GTFS data is responsible for generating accurate data. If the stops are in the wrong place or station entrances are not represented, then consumers of that data should ask the data producer to fix the problem. In your case it might be faster to fix it yourself, but you're right that for a large city, it would be very time consuming to edit it yourself as a one-off.
Hi Melinda,
thanks for your detailed response. You are right about the geometry of the transit lines. Except for when I want to create a map with the transit lines as representation of the "real world". But thats something I'd figure out once I need to.
I will now try to edit the GTFS stops.txt file itself, according to your instructions and using your tools. I will report back once I am done and it worked. However, I wonder how "Add GTFS to a ND" allocates the transit lines to the different stops (location type 1) that I add manually to the parent station. Wouldn't I need to change the routes.txt aswell, for the tool to know that bus X stops at stop 1 of a station, while Bus Z stops at stop 2 of the same station?
Another thought: my case is limited to a medium sized city (400k inhabitants) and I wonder how someone working with a large dataset from, lets say, NYC would handle my "stops problem".
Anyway, thanks a lot Melinda!
Piet
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.