Texturing outputs and using them in CityGuide
Learn what texturing changes in your GML files, how the PNG atlases are named and how to prepare the files for CityGuide.
SimplexCity Texture doesn't use a separate output folder. It updates the GML files you added to the project in place and writes the PNG texture atlases next to them. Back up your GML and PNG files before you start.
What changes in the GML file
- The building's appearance (
app:ParameterizedTextureinsideapp:appearance) is written. The texture coordinates point to the building's atlas. - The atlas path (
imageURI) is written relative to the GML folder, with forward slashes (/). - Texturing doesn't change the geometry or the neighbourhood, block and parcel attributes.
The PNG texture atlas
- Each building has its own atlas, written to the same folder as its GML file.
- For a GML file with one building, the atlas is named
<gml name>.png. In a file with several buildings, each building gets<gml name>_<index>.png. - If the building already has an atlas of its own, that file is used. If its atlas is shared with other buildings, the building gets a new file of its own.
- Photo chips are placed without scaling or rotating; the atlas size follows the chips. The limit is 16,384 pixels per side and 128 megapixels in total. If it's exceeded, the log says
Texture atlas skipped for …and the building's GML and PNG files don't change.
Actions that change files
| Action | Effect |
|---|---|
| Texture | GML and PNG are updated; photo candidates are recalculated. |
| Save This Photo, Clear Photo | One surface changes; the building's GML and PNG are updated. |
| Erase Texture | The selected buildings' textures are removed from the GML, atlas PNGs that no other building uses are deleted, and the photo candidates are deleted. The buildings stay in the project. |
| Edit Metadata | The Neighbourhood (TAKBİS reference), Block (Ada) and Parcel (Parsel) values are written to the building's GML file. A field left empty is removed from the GML. |
| Remove Selected | The buildings are only removed from the project; GML and PNG files are not deleted. |
Erase textures
- Select the buildings in the Buildings list.
- Click Erase Texture.
- In the “Erase selected textures?” window, click Confirm.
Prepare the files for CityGuide
CityGuide's building upload screen pairs .gml and .png files with the same name in the folder you choose. A GML file without a matching PNG is skipped.
- Texture the buildings in SimplexCity Texture.
- Check that every GML file in the folder has a PNG with the same name next to it. The atlas name Texture gives to single-building GML files fits this rule. Names like
<gml name>_<index>.pngdon't match their GML name. - When you upload buildings in CityGuide, choose this folder in the GML folder field.