<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Extracting Road Coordinates as Splines for Mesh Generation]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2357&amp;type=atom" />
	<updated>2025-04-14T11:28:10Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2357</id>
		<entry>
			<title type="html"><![CDATA[Re: Extracting Road Coordinates as Splines for Mesh Generation]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9804#p9804" />
			<content type="html"><![CDATA[<p>Hi.</p><p>Unfortunately, I don&#039;t know how to get roads from vector tiles.<br />I can give you a MapboxBuildingManager that gets buildings from vector tiles:<br /><a href="https://forum.infinity-code.com/viewtopic.php?pid=7791#p7791">https://forum.infinity-code.com/viewtop … 7791#p7791</a><br />Perhaps this will give you some direction for further work.</p><p>As an alternative to vector tiles, you can use the OSM Overpass API.<br />This is good for getting specific types of data for an area.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2025-04-14T11:28:10Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9804#p9804</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Extracting Road Coordinates as Splines for Mesh Generation]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9803#p9803" />
			<content type="html"><![CDATA[<p>hi.<br />I&#039;m working on a project that requires creating custom meshes along roadways. Specifically, I&#039;m looking for a method to:<br />Extract road data as an ordered list of geographic coordinates<br />Convert these coordinate lists into splines or curve data<br />Use these splines as paths for procedurally generating meshes along the roads<br />Is there a recommended approach within the Online Maps plugin to access the underlying road vector data? I&#039;d like to avoid manually tracing the roads if possible, as I need to work with the actual road geometry for accurate mesh placement.<br />Has anyone implemented a similar feature or would you recommend specific API methods for this task? Any code examples or guidance would be greatly appreciated.<br />Thank you in advance for your assistance.</p>]]></content>
			<author>
				<name><![CDATA[legend.forever1021]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=15659</uri>
			</author>
			<updated>2025-04-14T09:32:24Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9803#p9803</id>
		</entry>
</feed>
